public static bool IsSimpleType(Type type) { return(DbTypes.ContainsType(type) && type != typeof(object)); }
public bool IsSimpleType() { return(DbTypes.ContainsType(Type) && Type != typeof(object)); }