initial appdbcontext

This commit is contained in:
marco committed 2026-08-30 16:00:25 +02:00
1 parent 9a3b6035b0
commit 41e4407f3f
1 file changed
+13
+13
View File
@@ -0,0 +1,13 @@
using api.Domain;
using Microsoft.EntityFrameworkCore;
namespace api.Data
{
public class AppDbContext : DbContext
{
public AppDbContext(DbContextOptions<AppDbContext> options) : base(options)
{
}
public DbSet<Person> Persons { get; set; }
}
}