Exemple #1
0
 internal DataParameterCollection(IDbCommand command)
 {
     _command    = command;
     _parameters = command.Parameters;
     _parameters.Clear();
     _parameterDbType = command.CreateParameter().GetType();
 }
		internal DataParameterCollection(IDbCommand command)
		{
			_command = command;
			_parameters = command.Parameters;	
			_parameters.Clear();
			_parameterDbType = command.CreateParameter().GetType();	
			
		}
Exemple #3
0
 public override void Clear()
 {
     _parameterCollection.Clear();
 }
 public static IDataParameterCollection ReplaceAll(this IDataParameterCollection parameterCollection, params IDbDataParameter[] parameters)
 {
     parameterCollection.Clear();
     return(parameterCollection.AddRange(parameters));
 }
Exemple #5
0
 public void Clear()
 {
     _parameters.Clear();
 }
 /// <summary>
 /// Efface tous paramètres.
 /// </summary>
 public void Clear()
 {
     _list.Clear();
     _innerCollection.Clear();
 }