initial commit
This commit is contained in:
12
Infrastructure/Database/AppDbContext.cs
Normal file
12
Infrastructure/Database/AppDbContext.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Domain.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace Infrastructure.Database;
|
||||
|
||||
public class AppDbContext : DbContext
|
||||
{
|
||||
public DbSet<User> Users { get; set; }
|
||||
public DbSet<Kill> Kills { get; set; }
|
||||
|
||||
public AppDbContext(DbContextOptions<AppDbContext> options) : base(options){}
|
||||
}
|
||||
Reference in New Issue
Block a user