adam
fc574d5002
Some checks failed
gitea.arg.rip/_template-service/pipeline/head There was a failure building this commit
and you're getting a database, if you don't like it remove it.
18 lines
548 B
C#
18 lines
548 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using $REPO_NAME.Models;
|
|
|
|
namespace $REPO_NAME;
|
|
|
|
public partial class $REPO_NAMEDBContext : DbContext
|
|
{
|
|
public DbSet<GreetCounter> Channels { get; set; }
|
|
|
|
public $REPO_NAMEDBContext() { }
|
|
public $REPO_NAMEDBContext(DbContextOptions<$REPO_NAMEDBContext> options) : base(options) { }
|
|
|
|
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
|
=> optionsBuilder.UseNpgsql(Shared.DBConnectionString);
|
|
}
|