다음을 통해 공유


ExistsExpression Class

Definition

An expression that represents an EXISTS 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 class ExistsExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
type ExistsExpression = class
    inherit SqlExpression
Public Class ExistsExpression
Inherits SqlExpression
Inheritance
ExistsExpression

Constructors

ExistsExpression(SelectExpression, Boolean, RelationalTypeMapping)

Creates a new instance of the ExistsExpression class.

ExistsExpression(SelectExpression, RelationalTypeMapping)

Creates a new instance of the ExistsExpression class.

Properties

IsNegated

The value indicating if the existence check is negated.

NodeType (Inherited from SqlExpression)
Subquery

The subquery for which to check for element existence.

Type (Inherited from SqlExpression)
TypeMapping

The RelationalTypeMapping associated with this expression.

(Inherited from SqlExpression)

Methods

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() System.Linq.Expressions.Expression.Quote
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.

(Inherited from SqlExpression)
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.

VisitChildren(ExpressionVisitor)

Reduces the node and then calls the visitor delegate on the reduced expression. The method throws an exception if the node is not reducible.

Explicit Interface Implementations

IPrintableExpression.Print(ExpressionPrinter)

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

(Inherited from SqlExpression)

Applies to