示例#1
0
 public void Customize(ClassInfo classInfo)
 {
     foreach (var prop in classInfo.GetChildProperties())
     {
         customizers.ForEach(customize => customize(prop));
     }
 }
示例#2
0
 public static IList <Collection> GetBags(this ClassInfo clazz) => clazz.GetChildProperties <Collection>("bag");
示例#3
0
 public static IList <Collection> GetSets(this ClassInfo clazz) => clazz.GetChildProperties <Collection>("set");
示例#4
0
 public static IList <Property> GetOneToOneProperties(this ClassInfo clazz) => clazz.GetChildProperties <Property>("one-to-one");
示例#5
0
 public static IList <Property> GetProperties(this ClassInfo clazz) => clazz.GetChildProperties <Property>("property");