Share via


InstantiationBinding.CreateConstructorExpression(ParameterBindingInfo) Method

Definition

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