mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 13:06:50 +08:00
Update TDengine
This commit is contained in:
parent
c86cf9e514
commit
fa97a44129
@ -6,7 +6,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="TDengine.Ado.Data" Version="1.6.7" />
|
||||
<PackageReference Include="TDengine.Ado.Data" Version="1.6.10" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -97,6 +97,10 @@ namespace SqlSugar.TDengine
|
||||
parameter.Value = parameter.Value?.ToString()?.ToLower();
|
||||
}
|
||||
var sqlParameter = new TDengineParameter(parameter.ParameterName,parameter.Value,parameter.DbType,0);
|
||||
if (parameter.CustomDbType?.Equals(System.Data.DbType.DateTime2) == true)
|
||||
{
|
||||
sqlParameter.IsMicrosecond= true;
|
||||
}
|
||||
result[i]=sqlParameter;
|
||||
i++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user