protected override void SetParameter(string parameterName, DbParameter value) { int index = RangeCheck(parameterName); MdxParameterCollection.ValidateType(value); Replace(index, (MdxParameter)value); }
public override int Add(object value) { MdxParameterCollection.ValidateType(value); Add((MdxParameter)value); return(Count - 1); }
protected override void SetParameter(int index, DbParameter value) { MdxParameterCollection.ValidateType(value); this[index] = (MdxParameter)value; }
/// <summary> /// Removes the specified MdxParameter object from the collection. /// </summary> /// <param name="value">The MdxParameter object to remove.</param> public override void Remove(object value) { MdxParameterCollection.ValidateType(value); Remove((MdxParameter)value); }
/// <summary> /// Inserts the specified index of the MdxParameter object with the specified name into the collection at the specified index. /// </summary> /// <param name="index">The index at which to insert the MdxParameter object.</param> /// <param name="value">The MdxParameter object to insert into the collection.</param> public override void Insert(int index, object value) { MdxParameterCollection.ValidateType(value); Insert(index, (MdxParameter)value); }