Share via


NonQueryExpression Constructors

Definition

Overloads

NonQueryExpression(DeleteExpression)

Creates a new instance of the NonQueryExpression class with associated delete expression.

NonQueryExpression(UpdateExpression)

Creates a new instance of the NonQueryExpression class with associated update expression.

NonQueryExpression(Expression, CommandSource)

Creates a new instance of the NonQueryExpression class with associated query expression and command source.

NonQueryExpression(DeleteExpression)

Creates a new instance of the NonQueryExpression class with associated delete expression.

public NonQueryExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.DeleteExpression deleteExpression);
new Microsoft.EntityFrameworkCore.Query.NonQueryExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.DeleteExpression -> Microsoft.EntityFrameworkCore.Query.NonQueryExpression
Public Sub New (deleteExpression As DeleteExpression)

Parameters

deleteExpression
DeleteExpression

The delete expression to delete rows on the server.

Applies to

NonQueryExpression(UpdateExpression)

Creates a new instance of the NonQueryExpression class with associated update expression.

public NonQueryExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.UpdateExpression updateExpression);
new Microsoft.EntityFrameworkCore.Query.NonQueryExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.UpdateExpression -> Microsoft.EntityFrameworkCore.Query.NonQueryExpression
Public Sub New (updateExpression As UpdateExpression)

Parameters

updateExpression
UpdateExpression

The update expression to update rows on the server.

Applies to

NonQueryExpression(Expression, CommandSource)

Creates a new instance of the NonQueryExpression class with associated query expression and command source.

public NonQueryExpression (System.Linq.Expressions.Expression expression, Microsoft.EntityFrameworkCore.Diagnostics.CommandSource commandSource);
new Microsoft.EntityFrameworkCore.Query.NonQueryExpression : System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Diagnostics.CommandSource -> Microsoft.EntityFrameworkCore.Query.NonQueryExpression
Public Sub New (expression As Expression, commandSource As CommandSource)

Parameters

expression
Expression

The expression to affect rows on the server.

commandSource
CommandSource

The command source to use for this non-query operation.

Applies to