a migration
This commit is contained in:
parent
53bca59c18
commit
a02085f086
7 changed files with 94 additions and 87 deletions
|
|
@ -77,6 +77,7 @@ namespace Yavsc.Models
|
|||
}
|
||||
|
||||
builder.Entity<Activity>().Property(a=>a.ParentCode).IsRequired(false);
|
||||
builder.Entity<BlogPost>().HasOne(p => p.Author).WithMany(a => a.Posts);
|
||||
}
|
||||
|
||||
// this is not a failback procedure.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue