RelationalEntityShaperExpression Class

Definition

An expression that represents creation of an entity instance for a relational provider in ShaperExpression.

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

public class RelationalEntityShaperExpression : Microsoft.EntityFrameworkCore.Query.EntityShaperExpression
type RelationalEntityShaperExpression = class
    inherit EntityShaperExpression
Public Class RelationalEntityShaperExpression
Inherits EntityShaperExpression
Inheritance
RelationalEntityShaperExpression

Constructors

RelationalEntityShaperExpression(IEntityType, Expression, Boolean)

Creates a new instance of the RelationalEntityShaperExpression class.

RelationalEntityShaperExpression(IEntityType, Expression, Boolean, LambdaExpression)

Creates a new instance of the RelationalEntityShaperExpression class.

Properties

EntityType

The entity type being shaped.

(Inherited from EntityShaperExpression)
IsNullable

A value indicating whether this entity instance can be null.

(Inherited from EntityShaperExpression)
MaterializationCondition

The materilization condition to use for shaping this entity.

(Inherited from EntityShaperExpression)
NodeType (Inherited from EntityShaperExpression)
Type (Inherited from EntityShaperExpression)
ValueBufferExpression

The expression representing a ValueBuffer to get values from that are used to create the entity instance.

(Inherited from EntityShaperExpression)

Methods

GenerateMaterializationCondition(IEntityType, Boolean)

Creates an expression of Func<T,TResult> to determine which entity type to materialize.

MakeNullable(Boolean)

Assigns nullability for this shaper, indicating whether it can shape null entity instances or not.

MakeNullable(Boolean)

Assigns nullability for this shaper, indicating whether it can shape null entity instances or not.

(Inherited from EntityShaperExpression)
MarkAsNullable()
Obsolete.

Marks this shaper as nullable, indicating that it can shape null entity instances.

MarkAsNullable()
Obsolete.

Marks this shaper as nullable, indicating that it can shape null entity instances.

(Inherited from EntityShaperExpression)
Print(ExpressionPrinter) (Inherited from EntityShaperExpression)
Update(Expression)

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) (Inherited from EntityShaperExpression)
WithEntityType(IEntityType)

Changes the entity type being shaped by this entity shaper.

Explicit Interface Implementations

IPrintableExpression.Print(ExpressionPrinter)

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

(Inherited from EntityShaperExpression)

Applies to