seems to be safer
This commit is contained in:
parent
eb28a66883
commit
6a3f4533cd
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ namespace Yavsc.Models
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string OwnerId { get; set; }
|
public string OwnerId { get; set; }
|
||||||
|
|
||||||
[ForeignKey("OwnerId"),JsonIgnore]
|
[ForeignKey("OwnerId"),JsonIgnore,NotMapped]
|
||||||
public virtual ApplicationUser Owner { get; set; }
|
public virtual ApplicationUser Owner { get; set; }
|
||||||
|
|
||||||
[InverseProperty("Circle")]
|
[InverseProperty("Circle")]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue