Partager via


QuerySqlGenerator.VisitUpdate(UpdateExpression) Method

Definition

Generates SQL for an UPDATE expression.

protected override System.Linq.Expressions.Expression VisitUpdate (Microsoft.EntityFrameworkCore.Query.SqlExpressions.UpdateExpression updateExpression);
override this.VisitUpdate : Microsoft.EntityFrameworkCore.Query.SqlExpressions.UpdateExpression -> System.Linq.Expressions.Expression
Protected Overrides Function VisitUpdate (updateExpression As UpdateExpression) As Expression

Parameters

updateExpression
UpdateExpression

The UpdateExpression for which to generate SQL.

Returns

The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.

Applies to