public static bool IsNavigation(this PropertyInfo property) { return(property != null && (property.IsReference() || property.IsCollection())); }
public static bool IsPrimitive(this PropertyInfo property) { return(property != null && !property.IsReference() && !property.IsCollection()); }