diff options
author | Luca Matei Pintilie <luca@lucamatei.com> | 2024-10-30 20:59:53 +0000 |
---|---|---|
committer | Luca Matei Pintilie <luca@lucamatei.com> | 2024-10-30 20:59:53 +0000 |
commit | dc1938dbb98dc9edf16558e505b2961246c83e6e (patch) | |
tree | 7953186976085ceca6c03a208d1ffd9596f745be /Api/Models/DbWikiWakaContext.cs | |
parent | fc3c7e3b3c955cc274d4668768466fecb8fb727b (diff) | |
download | wikiwaka-dc1938dbb98dc9edf16558e505b2961246c83e6e.tar wikiwaka-dc1938dbb98dc9edf16558e505b2961246c83e6e.tar.gz wikiwaka-dc1938dbb98dc9edf16558e505b2961246c83e6e.tar.bz2 wikiwaka-dc1938dbb98dc9edf16558e505b2961246c83e6e.tar.lz wikiwaka-dc1938dbb98dc9edf16558e505b2961246c83e6e.tar.xz wikiwaka-dc1938dbb98dc9edf16558e505b2961246c83e6e.tar.zst wikiwaka-dc1938dbb98dc9edf16558e505b2961246c83e6e.zip |
Diffstat (limited to '')
-rw-r--r-- | Api/Models/DbWikiWakaContext.cs | 11 |
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; } +} |