Interface IUpdateBuilder
- Assembly
- Dapper.SimpleSqlBuilder.dll
An interface that defines the update builder type.
public interface IUpdateBuilder : IWhereBuilder, IGroupByBuilder, IHavingBuilder, IOrderByBuilderEntry, IFluentSqlBuilder, ISqlBuilder, IFluentBuilder
Implements
Methods
Set(ref UpdateSetInterpolatedStringHandler)
Appends the SET
clause and the interpolated string to the builder.
IUpdateBuilder Set(ref UpdateSetInterpolatedStringHandler handler)
Parameters
handler
UpdateSetInterpolatedStringHandler-
The handler for the interpolated string.
Returns
- IUpdateBuilder
-
The IUpdateBuilder instance.
Set(bool, ref UpdateSetInterpolatedStringHandler)
Appends the SET
clause and the interpolated string to the builder.
IUpdateBuilder Set(bool condition, ref UpdateSetInterpolatedStringHandler handler)
Parameters
condition
bool-
The value to determine whether the method should be executed.
handler
UpdateSetInterpolatedStringHandler-
The handler for the interpolated string.
Returns
- IUpdateBuilder
-
The IUpdateBuilder instance.