test274/greynsvcDBContext.cs
greyn c4c375a440
Some checks are pending
gitea.arg.rip/test274/pipeline/head Build queued...
Initial commit
2025-03-24 22:59:29 -04:00

18 lines
532 B
C#

using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using test274.Models;
namespace test274;
public partial class greynsvcDBContext : DbContext
{
public DbSet<GreetCounter> Greets { get; set; }
public greynsvcDBContext() { }
public greynsvcDBContext(DbContextOptions<greynsvcDBContext> options) : base(options) { }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
=> optionsBuilder.UseNpgsql(Shared.DBConnectionString);
}