DbParameters.FromDtoWhere method (1 of 3)

Creates a list of parameters from the properties of a DTO whose names match the specified filter.

public static DbParameters FromDtoWhere(object dto, Func<string, bool> filter)

Remarks

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

See Also


DbParameters.FromDtoWhere method (2 of 3)

Creates a list of parameters from the properties of a DTO whose names match the specified filter.

public static DbParameters FromDtoWhere(Func<string, string> name, object dto, 
    Func<string, bool> filter)

Remarks

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

See Also


DbParameters.FromDtoWhere method (3 of 3)

Creates a list of parameters from the properties of a DTO whose names match the specified filter.

public static DbParameters FromDtoWhere(string name, object dto, Func<string, bool> filter)

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