feat(Notes) notes are now markdown. Documents WIP

This commit is contained in:
2022-04-01 19:41:19 -04:00
parent 14ed0c3ea5
commit 596f82bc8c
19 changed files with 178 additions and 246 deletions
+2 -4
View File
@@ -7,13 +7,11 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DefineConstants>TRACE;
NO_SQL;</DefineConstants>
<DefineConstants>TRACE;</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DefineConstants>TRACE;
NO_SQL;</DefineConstants>
<DefineConstants>TRACE;</DefineConstants>
</PropertyGroup>
<ItemGroup>
+6 -1
View File
@@ -3,6 +3,8 @@
#else
using Microsoft.EntityFrameworkCore;
using Model.Documentation;
using Model.Immortal.Notes;
using Model.Website;
using Model.Work.Git;
using Model.Work.Tasks;
@@ -20,7 +22,10 @@ public class DatabaseContext : DbContext {
public DbSet<PatchModel> PatchModels { get; set; }
public DbSet<WebPageModel> WebPageModels { get; set; }
public DbSet<WebSectionModel> WebSectionModels { get; set; }
public DbSet<DocumentationModel> DocumentationModels { get; set; }
public DbSet<NoteModel> NoteModels { get; set; }
protected override void OnModelCreating(ModelBuilder modelBuilder) {
modelBuilder.Entity<PatchModel>();
modelBuilder.Entity<TaskModel>();