Creates a list of parameters from a collection of values.
public static DbParameters FromMany(Func<int, string> name, IEnumerable values)
The name of each parameter is determined by calling the specified function with the zero-based index of the value.
Creates a list of parameters from a single name and a collection of values.
public static DbParameters FromMany(string name, IEnumerable values)
The name of each parameter is name_index, where name is as specified and index is the zero-based index of the value.