internal void DefineByPosition(int position, OracleConnection connection) { OciParameterDescriptor parameter = ((OciStatementHandle)Parent).GetParameter(position); //name = parameter.GetName (); definedType = parameter.GetDataType(); definedSize = parameter.GetDataSize(); //precision = parameter.GetPrecision (); scale = parameter.GetScale(); Define(position, connection); parameter.Dispose(); }
internal void DefineByPosition(int position, OracleConnection connection) { OciParameterDescriptor parameter = ((OciStatementHandle)Parent).GetParameter(position); name = parameter.GetName(); definedType = parameter.GetDataType(); definedSize = parameter.GetDataSize(); //precision = parameter.GetPrecision (); scale = parameter.GetScale(); rlenp = OciCalls.AllocateClear(sizeof(short)); indicator = OciCalls.AllocateClear(sizeof(short)); Define(position, connection); parameter.Dispose(); }