From 41e4407f3f948634b256cdae3d687059756dbc8a Mon Sep 17 00:00:00 2001 From: marco Date: Sun, 30 Aug 2026 16:00:25 +0200 Subject: [PATCH] initial appdbcontext --- api/Data/AppDbContext.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 api/Data/AppDbContext.cs diff --git a/api/Data/AppDbContext.cs b/api/Data/AppDbContext.cs new file mode 100644 index 0000000..f614dc7 --- /dev/null +++ b/api/Data/AppDbContext.cs @@ -0,0 +1,13 @@ +using api.Domain; +using Microsoft.EntityFrameworkCore; + +namespace api.Data +{ + public class AppDbContext : DbContext + { + public AppDbContext(DbContextOptions options) : base(options) + { + } + public DbSet Persons { get; set; } + } +} \ No newline at end of file