summaryrefslogtreecommitdiff
path: root/Api/Models/DbWikiWakaContext.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Api/Models/DbWikiWakaContext.cs')
-rw-r--r--Api/Models/DbWikiWakaContext.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/Api/Models/DbWikiWakaContext.cs b/Api/Models/DbWikiWakaContext.cs
new file mode 100644
index 0000000..cf5632a
--- /dev/null
+++ b/Api/Models/DbWikiWakaContext.cs
@@ -0,0 +1,11 @@
+using Microsoft.EntityFrameworkCore;
+
+namespace WikiWaka.Api.Models;
+
+public class DbWikiWakaContext(DbContextOptions options) : DbContext(options)
+{
+ public DbSet<Content> Content { get; set; }
+ public DbSet<Version> Version { get; set; }
+ public DbSet<Property> Property { get; set; }
+ public DbSet<Language> Language { get; set; }
+}