seems to be safer

This commit is contained in:
Paul Schneider 2016-09-05 11:54:13 +02:00
commit 6a3f4533cd

View file

@ -13,7 +13,7 @@ namespace Yavsc.Models
public string Name { get; set; }
public string OwnerId { get; set; }
[ForeignKey("OwnerId"),JsonIgnore]
[ForeignKey("OwnerId"),JsonIgnore,NotMapped]
public virtual ApplicationUser Owner { get; set; }
[InverseProperty("Circle")]