C# Class DbExpressions.DbUpdateQueryExtensions

Provides the fluent interface that targets an 'UPDATE' query.
Mostra file Open project: seesharper/DbExpressions

Public Methods

Method Description
Set ( this dbUpdateQuery, DbExpression target, DbExpression valueExpression ) : DbQuery

Specifies the column to be updated.

Set ( this dbUpdateQuery, DbExpression>.Func columnSelector, DbExpression>.Func valueSelector ) : DbQuery

Specifies the column to be updated.

Set ( this dbUpdateQuery, DbExpression>.Func columnSelector, object value ) : DbQuery

Specifies the column to be updated.

Update ( this dbUpdateQuery, DbExpression target ) : DbUpdateQuery

Specifies the target table to update.

Update ( this dbUpdateQuery, DbExpression>.Func targetSelector ) : DbUpdateQuery

Specifies the target table to update.

Method Details

Set() public static method

Specifies the column to be updated.
public static Set ( this dbUpdateQuery, DbExpression target, DbExpression valueExpression ) : DbQuery
dbUpdateQuery this The target .
target DbExpression The that represents the target table or view.
valueExpression DbExpression The that represents the new value.
return DbQuery

Set() public static method

Specifies the column to be updated.
public static Set ( this dbUpdateQuery, DbExpression>.Func columnSelector, DbExpression>.Func valueSelector ) : DbQuery
dbUpdateQuery this The target .
columnSelector DbExpression>.Func A function used to specify the column to be updated.
valueSelector DbExpression>.Func A function used to specify the new value.
return DbQuery

Set() public static method

Specifies the column to be updated.
public static Set ( this dbUpdateQuery, DbExpression>.Func columnSelector, object value ) : DbQuery
dbUpdateQuery this The target .
columnSelector DbExpression>.Func A function used to specify the column to be updated.
value object The new value.
return DbQuery

Update() public static method

Specifies the target table to update.
public static Update ( this dbUpdateQuery, DbExpression target ) : DbUpdateQuery
dbUpdateQuery this The target
target DbExpression The that represents the target table or view.
return DbUpdateQuery

Update() public static method

Specifies the target table to update.
public static Update ( this dbUpdateQuery, DbExpression>.Func targetSelector ) : DbUpdateQuery
dbUpdateQuery this The target
targetSelector DbExpression>.Func A used to /// specify the that represents the target table or view.
return DbUpdateQuery