DiscriminatorPredicateExpression Class

Definition

Represents a discriminator predicate.

public class DiscriminatorPredicateExpression : System.Linq.Expressions.Expression
public class DiscriminatorPredicateExpression : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.Expressions.Internal.IPrintable
type DiscriminatorPredicateExpression = class
    inherit Expression
type DiscriminatorPredicateExpression = class
    inherit Expression
    interface IPrintable
Public Class DiscriminatorPredicateExpression
Inherits Expression
Public Class DiscriminatorPredicateExpression
Inherits Expression
Implements IPrintable
Inheritance
DiscriminatorPredicateExpression
Implements
Microsoft.EntityFrameworkCore.Query.Expressions.Internal.IPrintable

Constructors

DiscriminatorPredicateExpression(Expression, IQuerySource)

Creates a new instance of a DiscriminatorPredicateExpression..

Properties

CanReduce

Indicates that the node can be reduced to a simpler node. If this returns true, Reduce() can be called to produce the reduced form.

NodeType

Returns the node type of this Expression. (Inherited from Expression.)

QuerySource

Gets the query source.

Type

Gets the static type of the expression that this Expression represents. (Inherited from Expression.)

Methods

Equals(Object)

Tests if this object is considered equal to another.

GetHashCode()

Returns a hash code for this object.

Reduce()

Reduces this node to a simpler expression. If CanReduce returns true, this should return a valid expression. This method is allowed to return another node which itself must be reduced.

ToString()

Creates a String representation of the Expression.

VisitChildren(ExpressionVisitor)

Reduces the node and then calls the Visit(Expression) method passing the reduced expression. Throws an exception if the node isn't reducible.

Explicit Interface Implementations

IPrintable.Print(ExpressionPrinter)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Applies to