Adds parameters from the collective properties of a sequence of DTOs.
public DbParameters AddDtos(IEnumerable dtos)
The name of each parameter is prop_index, where prop is the name of the corresponding DTO property and index is the zero-based index of the DTO.
Adds parameters from the collective properties of a sequence of DTOs.
public DbParameters AddDtos(Func<string, int, string> name, IEnumerable dtos)
The name of each parameter is determined by calling the specified function with the name of the corresponding DTO property and the zero-based index of the DTO.
Adds parameters from the collective properties of a sequence of DTOs.
public DbParameters AddDtos(string name, IEnumerable dtos)
The name of each parameter is name_prop_index, where name is as specified and prop is the name of the corresponding DTO property and index is the zero-based index of the DTO.