Compartir a través de


DeleteExpression Class

Definition

An expression that represents a DELETE operation in a SQL tree.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public sealed class DeleteExpression : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression
public sealed class DeleteExpression : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression, Microsoft.EntityFrameworkCore.Query.IRelationalQuotableExpression
type DeleteExpression = class
    inherit Expression
    interface IPrintableExpression
type DeleteExpression = class
    inherit Expression
    interface IRelationalQuotableExpression
    interface IPrintableExpression
Public NotInheritable Class DeleteExpression
Inherits Expression
Implements IPrintableExpression
Public NotInheritable Class DeleteExpression
Inherits Expression
Implements IPrintableExpression, IRelationalQuotableExpression
Inheritance
DeleteExpression
Implements

Constructors

DeleteExpression(TableExpression, SelectExpression, ISet<String>)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

DeleteExpression(TableExpression, SelectExpression)

Creates a new instance of the DeleteExpression class.

Properties

NodeType

Gets the node type of this Expression.

SelectExpression

The select expression which is used to determine which rows to delete.

Table

The table on which the delete operation is being applied.

Tags

The list of tags applied to this DeleteExpression.

Type

Gets the static type of the expression that this Expression represents.

Methods

ApplyTags(ISet<String>)

Applies a given set of tags.

Equals(Object) System.Linq.Expressions.Expression.Equals(System.Object)
GetHashCode() System.Linq.Expressions.Expression.GetHashCode
Print(ExpressionPrinter)

Creates a printable string representation of the given expression using ExpressionPrinter.

Quote()

Quotes the expression; that is, returns an expression that, when evaluated, would construct an expression identical to this one. Used to generate code for precompiled queries, which reconstructs this expression.

Update(SelectExpression)

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

Update(TableExpression, SelectExpression)

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

Applies to