Browse Source

ORACLE performance optimizing

pull/12/MERGE
skx 5 years ago
parent
commit
990fabe66d
  1. 5
      Src/Asp.Net/SqlSugar/Realization/Oracle/OracleProvider.cs

5
Src/Asp.Net/SqlSugar/Realization/Oracle/OracleProvider.cs

@ -150,6 +150,11 @@ namespace SqlSugar
sqlParameter.Value = (bool)parameter.Value ? 1 : 0;
}
}
else if (parameter.DbType == System.Data.DbType.DateTime)
{
sqlParameter.Value = parameter.Value;
sqlParameter.DbType = System.Data.DbType.Date;
}
else
{
if (parameter.Value != null && parameter.Value.GetType() == UtilConstants.GuidType)

Loading…
Cancel
Save