mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update pgsql
This commit is contained in:
@@ -123,10 +123,10 @@ namespace SqlSugar
|
||||
{
|
||||
value = DBNull.Value;
|
||||
}
|
||||
else if (value is double&&this.Context?.CurrentConnectionConfig?.MoreSettings?.DatabaseModel==null)
|
||||
{
|
||||
column.Type = NpgsqlDbType.Double;
|
||||
}
|
||||
//else if (value is double&&this.Context?.CurrentConnectionConfig?.MoreSettings?.DatabaseModel==null)
|
||||
//{
|
||||
// column.Type = NpgsqlDbType.Double;
|
||||
//}
|
||||
if (column.Type == null)
|
||||
{
|
||||
writer.Write(value);
|
||||
|
Reference in New Issue
Block a user