/// <summary>
        /// Ajoute un paramètre à la collection.
        /// </summary>
        /// <param name="index">Index d'insertion (0 pour insérer en première position).</param>
        /// <param name="item">Paramètre.</param>
        public void Insert(int index, SqlServerParameter item)
        {
            if (item == null)
            {
                throw new ArgumentNullException("item");
            }

            _list.Insert(index, item);
            _innerCollection.Insert(index, item.InnerParameter);
        }
Exemple #2
0
 public override void Insert(int index, object value)
 {
     _parameterCollection.Insert(index, value);
 }
Exemple #3
0
 public void Insert(int index, object value)
 {
     _parameters.Insert(index, value);
 }