mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update oracle type
This commit is contained in:
@@ -297,7 +297,11 @@ namespace SqlSugar
|
||||
if (isVarchar && sqlParameter.DbType == System.Data.DbType.String)
|
||||
{
|
||||
sqlParameter.DbType = System.Data.DbType.AnsiString;
|
||||
}
|
||||
}
|
||||
if (parameter.CustomDbType != null && parameter.CustomDbType is OracleDbType)
|
||||
{
|
||||
sqlParameter.OracleDbType = ((OracleDbType)parameter.CustomDbType);
|
||||
}
|
||||
++index;
|
||||
}
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user