Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
        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();
        }