RelationalStructuralTypeShaperExpression Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för