_template-service/greynsvcDBContext.cs
adam bb1cc82fcc
Some checks failed
gitea.arg.rip/_template-service/pipeline/head There was a failure building this commit
more necessary initializations
2024-12-13 16:14:48 -05:00

18 lines
538 B
C#

using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using $REPO_NAME.Models;
namespace $REPO_NAME;
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);
}