private static GeneratedStorageProperty BuildStorageProperty(SObjectField field, Action <string> onUnsupportedType) { Type clrType = CodeModelBuilder.GetClrType(field.SoapType, onUnsupportedType); return(new GeneratedStorageProperty() { ClrType = clrType, IsNullableType = field.Nillable && clrType.IsValueType, IsKey = field.Type == "id" && !field.Nillable, Model = field }); }
private static GeneratedStorageProperty BuildStorageProperty(SObjectField field, Action<string> onUnsupportedType) { Type clrType = CodeModelBuilder.GetClrType(field.SoapType, onUnsupportedType); return new GeneratedStorageProperty() { ClrType = clrType, IsNullableType = field.Nillable && clrType.IsValueType, IsKey = field.Type == "id" && !field.Nillable, Model = field }; }