public override void RemoveAt(int index) { if (!CheckRange(index)) { throw new ArgumentOutOfRangeException("index"); } QaParameter param = parameters[index]; param.ResetParent(); parameters.RemoveAt(index); }
protected override void SetParameter(int index, DbParameter value) { if (!CheckRange(index)) { throw new IndexOutOfRangeException("index"); } QaParameter newparam = (QaParameter)value; CheckSetParent(newparam); QaParameter oldparam = parameters[index]; oldparam.ResetParent(); parameters[index] = newparam; }