public IDbDataParameter GetDbDataParameter(string paraName, string originDbType, int paraLen) { if (paraLen == 0) { return(new OracleParameter(paraName, DBTypeConverter.GetOracleTypeByOriginName(originDbType))); } return(new OracleParameter(paraName, DBTypeConverter.GetOracleTypeByOriginName(originDbType), paraLen)); }
public IDbDataParameter MakeOutParam(string ParamName, string originDbType, int Size) { return(MakeParam(ParamName, DBTypeConverter.GetOracleTypeByOriginName(originDbType), Size, ParameterDirection.Output, null)); }
public IDbDataParameter MakeInParam(string ParamName, string originDbType, object Value, int Size) { return(MakeParam(ParamName, DBTypeConverter.GetOracleTypeByOriginName(originDbType), Size, ParameterDirection.Input, Value)); }