/// <summary> /// Removes parameter from the Parameter Collection /// </summary> /// <param name="parameter">Parameter to be removed</param> public void Remove(DBParameter parameter) { _parameterCollection.Remove(parameter); }
internal DbDataAdapter GetDataAdapter(string sqlCommand, IDbConnection connection, DBParameter param, CommandType commandType) { DbDataAdapter adapter = null; IDbCommand command = _commandBuilder.GetCommand(sqlCommand, connection, param, commandType); adapter = GetDataAdapter(command); return(adapter); }
/// <summary> /// Adds a DBParameter to the ParameterCollection /// </summary> /// <param name="parameter">Parameter to be added</param> public void Add(DBParameter parameter) { _parameterCollection.Add(parameter); }