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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework