Interface IOrderByBuilderEntry
- Assembly
- Dapper.SimpleSqlBuilder.dll
An interface that defines the order by entry builder type.
public interface IOrderByBuilderEntry : IFluentSqlBuilder, ISqlBuilder, IFluentBuilder
Implements
Methods
OrderBy(ref OrderByInterpolatedStringHandler)
Appends the ORDER BY
clause and the interpolated string to the builder.
IOrderByBuilder OrderBy(ref OrderByInterpolatedStringHandler handler)
Parameters
handler
OrderByInterpolatedStringHandler-
The handler for the interpolated string.
Returns
- IOrderByBuilder
-
The IOrderByBuilder instance.
OrderBy(bool, ref OrderByInterpolatedStringHandler)
Appends the ORDER BY
clause and the interpolated string to the builder.
IOrderByBuilder OrderBy(bool condition, ref OrderByInterpolatedStringHandler handler)
Parameters
condition
bool-
The value to determine whether the method should be executed.
handler
OrderByInterpolatedStringHandler-
The handler for the interpolated string.
Returns
- IOrderByBuilder
-
The IOrderByBuilder instance.