Replace ReactiveUI
This commit is contained in:
parent
43b4d50e43
commit
5584ab4ec8
41 changed files with 472 additions and 1013 deletions
|
|
@ -26,7 +26,10 @@ public class NoteDbContext(
|
|||
{
|
||||
options.HasKey(m => m.Id);
|
||||
|
||||
options.OwnsOne(m => m.Value);
|
||||
options.OwnsOne(m => m.Value, m =>
|
||||
{
|
||||
m.HasOne<Blob>().WithOne().HasForeignKey<Note>(m => m.ContentId).IsRequired();
|
||||
});
|
||||
|
||||
options.HasOne(m => m.Parent);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue