Interface IWhereFilterBuilder
- Assembly
- Dapper.SimpleSqlBuilder.dll
An interface that defines the where filter builder type.
public interface IWhereFilterBuilder : IWhereBuilder, IGroupByBuilder, IHavingBuilder, IOrderByBuilderEntry, IFluentSqlBuilder, ISqlBuilder, IFluentBuilderImplements
Methods
WithFilter(ref WhereWithFilterInterpolatedStringHandler)
Appends the AND clause filter and the interpolated string to the builder.
IWhereFilterBuilder WithFilter(ref WhereWithFilterInterpolatedStringHandler handler)Parameters
handlerWhereWithFilterInterpolatedStringHandler-
The handler for the interpolated string.
Returns
- IWhereFilterBuilder
-
The IWhereFilterBuilder instance.
WithFilter(bool, ref WhereWithFilterInterpolatedStringHandler)
Appends the AND clause filter and the interpolated string to the builder.
IWhereFilterBuilder WithFilter(bool condition, ref WhereWithFilterInterpolatedStringHandler handler)Parameters
conditionbool-
The value to determine whether the method should be executed.
handlerWhereWithFilterInterpolatedStringHandler-
The handler for the interpolated string.
Returns
- IWhereFilterBuilder
-
The IWhereFilterBuilder instance.
WithOrFilter(ref WhereWithOrFilterInterpolatedStringHandler)
Appends the OR clause filter and the interpolated string to the builder.
IWhereFilterBuilder WithOrFilter(ref WhereWithOrFilterInterpolatedStringHandler handler)Parameters
handlerWhereWithOrFilterInterpolatedStringHandler-
The handler for the interpolated string.
Returns
- IWhereFilterBuilder
-
The IWhereFilterBuilder instance.
WithOrFilter(bool, ref WhereWithOrFilterInterpolatedStringHandler)
Appends the OR clause filter and the interpolated string to the builder.
IWhereFilterBuilder WithOrFilter(bool condition, ref WhereWithOrFilterInterpolatedStringHandler handler)Parameters
conditionbool-
The value to determine whether the method should be executed.
handlerWhereWithOrFilterInterpolatedStringHandler-
The handler for the interpolated string.
Returns
- IWhereFilterBuilder
-
The IWhereFilterBuilder instance.