Exemple #1
0
 private static IEnumerable<Property> GetObsoletedStructuralProperties(OdcmClass odcmClass)
 {
     return odcmClass.StructuralProperties().Where(p => NamesService.GetPropertyName(p) != NamesService.GetModelPropertyName(p))
             .Select(Property.AsObsoletedProperty);
 }
Exemple #2
0
 private static IEnumerable<Property> GetStructuralProperties(OdcmClass odcmClass)
 {
     return odcmClass.StructuralProperties().Select(Property.AsConcreteStructuralProperty);
 }
Exemple #3
0
 private static IEnumerable<Field> GetStructuralFields(OdcmClass odcmClass)
 {
     return odcmClass.StructuralProperties().Select(Field.ForStructuralProperty);
 }