private void ApplyParameterBindings(System.Data.Common.UnsafeNativeMethods.ICommandWithParameters commandWithParameters, tagDBPARAMBINDINFO[] bindInfo)
        {
            IntPtr[] rgParamOrdinals = new IntPtr[bindInfo.Length];
            for (int i = 0; i < rgParamOrdinals.Length; i++)
            {
                rgParamOrdinals[i] = (IntPtr)(i + 1);
            }
            Bid.Trace("<oledb.ICommandWithParameters.SetParameterInfo|API|OLEDB> %d#\n", this.ObjectID);
            OleDbHResult result = commandWithParameters.SetParameterInfo((IntPtr)bindInfo.Length, rgParamOrdinals, bindInfo);

            Bid.Trace("<oledb.ICommandWithParameters.SetParameterInfo|API|OLEDB|RET> %08X{HRESULT}\n", result);
            if (result < OleDbHResult.S_OK)
            {
                this.ProcessResults(result);
            }
        }