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