DbParameters.AddDto method (1 of 3)

Adds parameters from the properties of a DTO.

public DbParameters AddDto(object dto)

Remarks

The name of each parameter is the name of the corresponding DTO property.

See Also


DbParameters.AddDto method (2 of 3)

Adds parameters from the properties of a DTO.

public DbParameters AddDto(Func<string, string> name, object dto)

Remarks

The name of each parameter is determined by calling the function with the name of the corresponding DTO property.

See Also


DbParameters.AddDto method (3 of 3)

Adds parameters from the properties of a DTO.

public DbParameters AddDto(string name, object dto)

Remarks

The name of each parameter is name_prop, where name is as specified and prop is the name of the corresponding DTO property.

See Also