InstantiationBinding.CreateConstructorExpression(ParameterBindingInfo) Method
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.
Creates an expression tree that represents creating an entity instance from the given binding information. For example, this might be a NewExpression to call a constructor, or a MethodCallExpression to call a factory method.
public abstract System.Linq.Expressions.Expression CreateConstructorExpression (Microsoft.EntityFrameworkCore.Metadata.ParameterBindingInfo bindingInfo);
abstract member CreateConstructorExpression : Microsoft.EntityFrameworkCore.Metadata.ParameterBindingInfo -> System.Linq.Expressions.Expression
Public MustOverride Function CreateConstructorExpression (bindingInfo As ParameterBindingInfo) As Expression
Parameters
- bindingInfo
- ParameterBindingInfo
Information needed to create the expression.
Returns
The expression tree.
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