From 6a3f4533cdf53d894f87bdc38a93482de2cce69f Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 5 Sep 2016 11:54:13 +0200 Subject: [PATCH] seems to be safer --- Yavsc/Model/Relationship/Circle.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Yavsc/Model/Relationship/Circle.cs b/Yavsc/Model/Relationship/Circle.cs index 2c26379c..fbdb1ebf 100644 --- a/Yavsc/Model/Relationship/Circle.cs +++ b/Yavsc/Model/Relationship/Circle.cs @@ -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")]