Share via


RelationalStructuralTypeShaperExpression 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 RelationalStructuralTypeShaperExpression : Microsoft.EntityFrameworkCore.Query.StructuralTypeShaperExpression
type RelationalStructuralTypeShaperExpression = class
    inherit StructuralTypeShaperExpression
Public Class RelationalStructuralTypeShaperExpression
Inherits StructuralTypeShaperExpression
Inheritance
RelationalStructuralTypeShaperExpression

Constructors

RelationalStructuralTypeShaperExpression(ITypeBase, Expression, Boolean)

Creates a new instance of the RelationalStructuralTypeShaperExpression class.

RelationalStructuralTypeShaperExpression(ITypeBase, Expression, Boolean, LambdaExpression)

Creates a new instance of the RelationalStructuralTypeShaperExpression class.

Properties

IsNullable

A value indicating whether this instance can be null.

(Inherited from StructuralTypeShaperExpression)
MaterializationCondition

The materialization condition to use for shaping this structural type.

(Inherited from StructuralTypeShaperExpression)
NodeType (Inherited from StructuralTypeShaperExpression)
StructuralType

The entity or complex type being shaped.

(Inherited from StructuralTypeShaperExpression)
Type (Inherited from StructuralTypeShaperExpression)
ValueBufferExpression

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

(Inherited from StructuralTypeShaperExpression)

Methods

DebuggerDisplay()

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.

(Inherited from StructuralTypeShaperExpression)
GenerateMaterializationCondition(ITypeBase, Boolean)

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

MakeNullable(Boolean)

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

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 StructuralTypeShaperExpression)
WithType(ITypeBase)

Changes the structural type being shaped by this shaper.

Explicit Interface Implementations

IPrintableExpression.Print(ExpressionPrinter)

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

(Inherited from StructuralTypeShaperExpression)

Applies to