From dc1938dbb98dc9edf16558e505b2961246c83e6e Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Wed, 30 Oct 2024 21:59:53 +0100 Subject: Add API and Test --- Api/Models/DbWikiWakaContext.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Api/Models/DbWikiWakaContext.cs (limited to 'Api/Models/DbWikiWakaContext.cs') 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 { get; set; } + public DbSet Version { get; set; } + public DbSet Property { get; set; } + public DbSet Language { get; set; } +} -- cgit v1.2.3