Exemple #1
0
        public TdsParameter Add(TdsParameter value)
        {
            if (value.Container != null)
            {
                throw new ArgumentException("The TdsParameter specified in the value parameter is already added to this or another TdsParameterCollection.");
            }

            value.Container = this;
            list.Add(value);
            metaParameters.Add(value.MetaParameter);
            return(value);
        }
		public TdsParameter Add (TdsParameter value)
		{
			if (value.Container != null)
				throw new ArgumentException ("The TdsParameter specified in the value parameter is already added to this or another TdsParameterCollection.");
			
			value.Container = this;
			list.Add (value);
			metaParameters.Add (value.MetaParameter);
			return value;
		}