_template-service/greynsvcDBContext.cs
adam d01f14531d
Some checks failed
gitea.arg.rip/_template-service/pipeline/head There was a failure building this commit
... underscores, either.
2024-12-13 15:12:41 -05:00

18 lines
540 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> Channels { get; set; }
public greynsvcDBContext() { }
public greynsvcDBContext(DbContextOptions<greynsvcDBContext> options) : base(options) { }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
=> optionsBuilder.UseNpgsql(Shared.DBConnectionString);
}