Наследование: System.Data.Common.DbParameterCollection
Пример #1
0
        protected override void SetParameter(string parameterName, DbParameter value)
        {
            int index = RangeCheck(parameterName);

            MdxParameterCollection.ValidateType(value);
            Replace(index, (MdxParameter)value);
        }
Пример #2
0
 public override int Add(object value)
 {
     MdxParameterCollection.ValidateType(value);
     Add((MdxParameter)value);
     return(Count - 1);
 }
Пример #3
0
 protected override void SetParameter(int index, DbParameter value)
 {
     MdxParameterCollection.ValidateType(value);
     this[index] = (MdxParameter)value;
 }
Пример #4
0
 /// <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);
 }
Пример #5
0
 /// <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);
 }