internal ColumnBinding(OleDbDataReader dataReader, int index, int indexForAccessor, int indexWithinAccessor, OleDbParameter parameter, System.Data.OleDb.RowBinding rowbinding, System.Data.OleDb.Bindings bindings, tagDBBINDING binding, int offset, bool ifIRowsetElseIRow)
 {
     this._dataReader = dataReader;
     this._rowbinding = rowbinding;
     this._bindings = bindings;
     this._index = index;
     this._indexForAccessor = indexForAccessor;
     this._indexWithinAccessor = indexWithinAccessor;
     if (parameter != null)
     {
         this._parameter = parameter;
         this._parameterChangeID = parameter.ChangeID;
     }
     this._offsetStatus = binding.obStatus.ToInt32() + offset;
     this._offsetLength = binding.obLength.ToInt32() + offset;
     this._offsetValue = binding.obValue.ToInt32() + offset;
     this._ordinal = binding.iOrdinal.ToInt32();
     this._maxLen = binding.cbMaxLen.ToInt32();
     this._wType = binding.wType;
     this._precision = binding.bPrecision;
     this._ifIRowsetElseIRow = ifIRowsetElseIRow;
     this.SetSize(this.Bindings.ParamSize.ToInt32());
 }
示例#2
0
 internal ColumnBinding(OleDbDataReader dataReader, int index, int indexForAccessor, int indexWithinAccessor, OleDbParameter parameter, System.Data.OleDb.RowBinding rowbinding, System.Data.OleDb.Bindings bindings, tagDBBINDING binding, int offset, bool ifIRowsetElseIRow)
 {
     this._dataReader          = dataReader;
     this._rowbinding          = rowbinding;
     this._bindings            = bindings;
     this._index               = index;
     this._indexForAccessor    = indexForAccessor;
     this._indexWithinAccessor = indexWithinAccessor;
     if (parameter != null)
     {
         this._parameter         = parameter;
         this._parameterChangeID = parameter.ChangeID;
     }
     this._offsetStatus      = binding.obStatus.ToInt32() + offset;
     this._offsetLength      = binding.obLength.ToInt32() + offset;
     this._offsetValue       = binding.obValue.ToInt32() + offset;
     this._ordinal           = binding.iOrdinal.ToInt32();
     this._maxLen            = binding.cbMaxLen.ToInt32();
     this._wType             = binding.wType;
     this._precision         = binding.bPrecision;
     this._ifIRowsetElseIRow = ifIRowsetElseIRow;
     this.SetSize(this.Bindings.ParamSize.ToInt32());
 }