mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-19 06:29:33 +08:00
Storageable Support null
This commit is contained in:
parent
c82b3a0e40
commit
3e7b2e01dd
@ -331,7 +331,7 @@ namespace SqlSugar
|
|||||||
FieldName = item.DbColumnName,
|
FieldName = item.DbColumnName,
|
||||||
ConditionalType = ConditionalType.Equal,
|
ConditionalType = ConditionalType.Equal,
|
||||||
CSharpTypeName=UtilMethods.GetTypeName(value),
|
CSharpTypeName=UtilMethods.GetTypeName(value),
|
||||||
FieldValue = value + "",
|
FieldValue = value==null?"null":value.ObjToString(),
|
||||||
FieldValueConvertFunc=this.Context.CurrentConnectionConfig.DbType==DbType.PostgreSQL?
|
FieldValueConvertFunc=this.Context.CurrentConnectionConfig.DbType==DbType.PostgreSQL?
|
||||||
UtilMethods.GetTypeConvert(value):null
|
UtilMethods.GetTypeConvert(value):null
|
||||||
}));
|
}));
|
||||||
|
Loading…
Reference in New Issue
Block a user