adam
bb1cc82fcc
Some checks failed
gitea.arg.rip/_template-service/pipeline/head There was a failure building this commit
18 lines
538 B
C#
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);
|
|
}
|