public static IDataParameterCollection ReplaceAll(this IDataParameterCollection parameterCollection, params IDbDataParameter[] parameters)
 {
     parameterCollection.Clear();
     return(parameterCollection.AddRange(parameters));
 }
 public static IDataParameterCollection AddRange(this IDataParameterCollection parameterCollection, IList <IDbDataParameter> parameters)
 => parameterCollection.AddRange(parameters.ToArray());