Blog presentation
This commit is contained in:
parent
ab81fa2e96
commit
1f6e6d5d4f
7 changed files with 58 additions and 52 deletions
|
|
@ -87,7 +87,7 @@ namespace Yavsc.Models
|
|||
}
|
||||
|
||||
builder.Entity<Activity>().Property(a=>a.ParentCode).IsRequired(false);
|
||||
builder.Entity<BlogPost>().HasOne(p => p.Author).WithMany(a => a.Posts);
|
||||
//builder.Entity<BlogPost>().HasOne(p => p.Author).WithMany(a => a.Posts);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue