@ -11,6 +11,7 @@ namespace SqlSugar
{
public bool IsRefCursor { get; set; }
public bool IsClob { get; set; }
public bool IsNvarchar2 { get; set; }
public SugarParameter(string name, object value)
this.Value = value;
@ -169,6 +169,10 @@ namespace SqlSugar
sqlParameter.OracleDbType = OracleDbType.RefCursor;
}
if (parameter.IsNvarchar2&& parameter.DbType==System.Data.DbType.String)
sqlParameter.OracleDbType = OracleDbType.NVarchar2;
if (parameter.IsClob)
sqlParameter.OracleDbType = OracleDbType.Clob;