DbParameters.AddDtos method (1 of 3)

Adds parameters from the collective properties of a sequence of DTOs.

public DbParameters AddDtos(IEnumerable dtos)

Remarks

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.

See Also


DbParameters.AddDtos method (2 of 3)

Adds parameters from the collective properties of a sequence of DTOs.

public DbParameters AddDtos(Func<string, int, string> name, IEnumerable dtos)

Remarks

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.

See Also


DbParameters.AddDtos method (3 of 3)

Adds parameters from the collective properties of a sequence of DTOs.

public DbParameters AddDtos(string name, IEnumerable dtos)

Remarks

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.

See Also