DbParameters.AddMany method (1 of 2)

Adds parameters from a collection of values.

public DbParameters AddMany(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.AddMany method (2 of 2)

Adds parameters from a single name and a collection of values.

public DbParameters AddMany(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