mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-26 10:49:20 +08:00
人大金仓[sqlsever]
This commit is contained in:
@@ -50,6 +50,10 @@ namespace SqlSugar
|
||||
{
|
||||
result.Length = 1;
|
||||
}
|
||||
if (result.DataType.EqualCase("timestamp")&&this.Context.CurrentConnectionConfig?.MoreSettings?.DatabaseModel == DbType.SqlServer)
|
||||
{
|
||||
result.DataType = "datetime";
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user