DbParameters.FromMany method (1 of 2)

Creates a list of parameters from a collection of values.

public static DbParameters FromMany(Func<int, string> name, IEnumerable values)

Remarks

The name of each parameter is determined by calling the specified function with the zero-based index of the value.

See Also


DbParameters.FromMany method (2 of 2)

Creates a list of parameters from a single name and a collection of values.

public static DbParameters FromMany(string name, IEnumerable values)

Remarks

The name of each parameter is name_index, where name is as specified and index is the zero-based index of the value.

See Also