EF7 npgsql => ko aux clients => inutile en lib [obsdnx]

This commit is contained in:
Paul Schneider 2018-05-04 17:04:19 +02:00
commit 09039fa9ee
495 changed files with 913 additions and 11207 deletions

View file

@ -1,22 +0,0 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
namespace Yavsc.Models.Relationship
{
public class Circle {
[Key, DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
public string Name { get; set; }
public string OwnerId { get; set; }
[ForeignKey("OwnerId"),JsonIgnore,NotMapped]
public virtual ApplicationUser Owner { get; set; }
[InverseProperty("Circle"),JsonIgnore]
public virtual List<CircleMember> Members { get; set; }
}
}