예제 #1
0
 public static IColumnsBuilderConventions IgnoreComplex(this IColumnsBuilderConventions conventions)
 {
     return(conventions.IgnoreWhere(y => !(y.GetMemberInfoType().GetTypeInfo().IsValueType || y.GetMemberInfoType() == typeof(string) || y.GetMemberInfoType() == typeof(byte[]))));
 }
예제 #2
0
 public static IColumnsBuilderConventions IgnoreComplex(this IColumnsBuilderConventions conventions)
 {
     return(conventions.IgnoreWhere(y => !(y.PropertyType.IsValueType || y.PropertyType == typeof(string) || y.PropertyType == typeof(byte[]))));
 }