예제 #1
0
 public static void Apply(this EntityModelAttributeBase attr, EntityModelBuilder builder)
 {
     if (attr.HostMember == null)
     {
         attr.ApplyOnEntity(builder);
     }
     else
     {
         attr.ApplyOnMember(builder);
     }
 }
 public virtual void ApplyOnMember(EntityModelBuilder builder)
 {
 }
 public virtual void ApplyOnEntity(EntityModelBuilder builder)
 {
 }