Exemplo n.º 1
0
 public static PropertyInfo[] GetNonIdMembers(this EntityObjectStore.LocalContext context, Type type)
 {
     return(context.GetMembers(type).Where(x => !context.GetIdMembers(type).Contains(x)).ToArray());
 }
Exemplo n.º 2
0
 public static PropertyInfo[] GetAllMembers(this EntityObjectStore.LocalContext context, Type type)
 {
     return(context.GetMembers(type).Union(context.GetNavigationMembers(type)).ToArray());
 }