Interface IUpdateBuilder
- Assembly
- Dapper.SimpleSqlBuilder.dll
An interface that defines the update builder type.
public interface IUpdateBuilder : IWhereBuilder, IGroupByBuilder, IHavingBuilder, IOrderByBuilderEntry, IFluentSqlBuilder, ISqlBuilder, IFluentBuilderImplements
Methods
Set(ref UpdateSetInterpolatedStringHandler)
Appends the SET clause and the interpolated string to the builder.
IUpdateBuilder Set(ref UpdateSetInterpolatedStringHandler handler)Parameters
handlerUpdateSetInterpolatedStringHandler-
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
conditionbool-
The value to determine whether the method should be executed.
handlerUpdateSetInterpolatedStringHandler-
The handler for the interpolated string.
Returns
- IUpdateBuilder
-
The IUpdateBuilder instance.