Interface IWhereFilterBuilder
- Assembly
- Dapper.SimpleSqlBuilder.dll
An interface that defines the where filter builder type.
public interface IWhereFilterBuilder : IWhereBuilder, IGroupByBuilder, IHavingBuilder, IOrderByBuilderEntry, IFluentSqlBuilder, ISqlBuilder, IFluentBuilder
Implements
Methods
WithFilter(ref WhereWithFilterInterpolatedStringHandler)
Appends the AND
clause filter and the interpolated string to the builder.
IWhereFilterBuilder WithFilter(ref WhereWithFilterInterpolatedStringHandler handler)
Parameters
handler
WhereWithFilterInterpolatedStringHandler-
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
condition
bool-
The value to determine whether the method should be executed.
handler
WhereWithFilterInterpolatedStringHandler-
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
handler
WhereWithOrFilterInterpolatedStringHandler-
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
condition
bool-
The value to determine whether the method should be executed.
handler
WhereWithOrFilterInterpolatedStringHandler-
The handler for the interpolated string.
Returns
- IWhereFilterBuilder
-
The IWhereFilterBuilder instance.