mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-02 20:02:47 +08:00
Oracle support array type
This commit is contained in:
parent
236540a4a5
commit
6c752467a8
@ -139,6 +139,11 @@ namespace SqlSugar
|
||||
sqlParameter.OracleDbType = OracleDbType.Clob;
|
||||
sqlParameter.Value = parameter.Value;
|
||||
}
|
||||
if (parameter.IsArray)
|
||||
{
|
||||
sqlParameter.OracleDbType = OracleDbType.Varchar2;
|
||||
sqlParameter.CollectionType = OracleCollectionType.PLSQLAssociativeArray;
|
||||
}
|
||||
if (sqlParameter.DbType == System.Data.DbType.Guid)
|
||||
{
|
||||
sqlParameter.DbType = System.Data.DbType.String;
|
||||
|
Loading…
Reference in New Issue
Block a user