Exemplo n.º 1
0
 public static PropertyInfo[] GetCollectionMembers(this EntityObjectStore.LocalContext context, Type type)
 {
     return(context.GetNavigationMembers(type).Where(x => CollectionUtils.IsCollection(x.PropertyType)).ToArray());
 }
Exemplo n.º 2
0
 public static PropertyInfo[] GetAllMembers(this EntityObjectStore.LocalContext context, Type type)
 {
     return(context.GetMembers(type).Union(context.GetNavigationMembers(type)).ToArray());
 }
Exemplo n.º 3
0
 public static PropertyInfo[] GetReferenceMembers(this EntityObjectStore.LocalContext context, Type type) => context.GetNavigationMembers(type).Where(x => !CollectionUtils.IsCollection(x.PropertyType)).ToArray();