Creates a list of parameters from the properties of a DTO.
public static DbParameters FromDto(object dto)
The name of each parameter is the name of the corresponding DTO property.
Creates a list of parameters from the properties of a DTO.
public static DbParameters FromDto(Func<string, string> name, object dto)
The name of each parameter is determined by calling the function with the name of the corresponding DTO property.
Creates a list of parameters from the properties of a DTO.
public static DbParameters FromDto(string name, object dto)
The name of each parameter is name_prop
, where name
is as specified and prop
is the name of the corresponding DTO property.