Interface IJoinBuilder
- Assembly
- Dapper.SimpleSqlBuilder.dll
An interface that defines the join builder type.
public interface IJoinBuilder : IWhereBuilder, IGroupByBuilder, IHavingBuilder, IOrderByBuilderEntry, IFluentSqlBuilder, ISqlBuilder, IFluentBuilderImplements
Methods
InnerJoin(ref InnerJoinInterpolatedStringHandler)
Appends the INNER JOIN clause and the interpolated string to the builder.
IJoinBuilder InnerJoin(ref InnerJoinInterpolatedStringHandler handler)Parameters
handlerInnerJoinInterpolatedStringHandler-
The handler for the interpolated string.
Returns
- IJoinBuilder
-
The IJoinBuilder instance.
InnerJoin(bool, ref InnerJoinInterpolatedStringHandler)
Appends the INNER JOIN clause and the interpolated string to the builder.
IJoinBuilder InnerJoin(bool condition, ref InnerJoinInterpolatedStringHandler handler)Parameters
conditionbool-
The value to determine whether the method should be executed.
handlerInnerJoinInterpolatedStringHandler-
The handler for the interpolated string.
Returns
- IJoinBuilder
-
The IJoinBuilder instance.
LeftJoin(ref LeftJoinInterpolatedStringHandler)
Appends the LEFT JOIN clause and the interpolated string to the builder.
IJoinBuilder LeftJoin(ref LeftJoinInterpolatedStringHandler handler)Parameters
handlerLeftJoinInterpolatedStringHandler-
The handler for the interpolated string.
Returns
- IJoinBuilder
-
The IJoinBuilder instance.
LeftJoin(bool, ref LeftJoinInterpolatedStringHandler)
Appends the LEFT JOIN clause and the interpolated string to the builder.
IJoinBuilder LeftJoin(bool condition, ref LeftJoinInterpolatedStringHandler handler)Parameters
conditionbool-
The value to determine whether the method should be executed.
handlerLeftJoinInterpolatedStringHandler-
The handler for the interpolated string.
Returns
- IJoinBuilder
-
The IJoinBuilder instance.
RightJoin(ref RightJoinInterpolatedStringHandler)
Appends the RIGHT JOIN clause and the interpolated string to the builder.
IJoinBuilder RightJoin(ref RightJoinInterpolatedStringHandler handler)Parameters
handlerRightJoinInterpolatedStringHandler-
The handler for the interpolated string.
Returns
- IJoinBuilder
-
The IJoinBuilder instance.
RightJoin(bool, ref RightJoinInterpolatedStringHandler)
Appends the RIGHT JOIN clause and the interpolated string to the builder.
IJoinBuilder RightJoin(bool condition, ref RightJoinInterpolatedStringHandler handler)Parameters
conditionbool-
The value to determine whether the method should be executed.
handlerRightJoinInterpolatedStringHandler-
The handler for the interpolated string.
Returns
- IJoinBuilder
-
The IJoinBuilder instance.