Share via


ServiceParameterBinding.BindToParameter Method

Definition

Overloads

Name Description
BindToParameter(ParameterBindingInfo)

Creates an expression tree representing the binding of the value of a property from a materialization expression to a parameter of the constructor, factory method, etc.

BindToParameter(Expression, Expression)

Creates an expression tree representing the binding of the value of a property from a materialization expression to a parameter of the constructor, factory method, etc.

BindToParameter(ParameterBindingInfo)

Source:
ServiceParameterBinding.cs
Source:
ServiceParameterBinding.cs
Source:
ServiceParameterBinding.cs
Source:
ServiceParameterBinding.cs
Source:
ServiceParameterBinding.cs
Source:
ServiceParameterBinding.cs
Source:
ServiceParameterBinding.cs
Source:
ServiceParameterBinding.cs

Creates an expression tree representing the binding of the value of a property from a materialization expression to a parameter of the constructor, factory method, etc.

public override System.Linq.Expressions.Expression BindToParameter(Microsoft.EntityFrameworkCore.Metadata.ParameterBindingInfo bindingInfo);
override this.BindToParameter : Microsoft.EntityFrameworkCore.Metadata.ParameterBindingInfo -> System.Linq.Expressions.Expression
Public Overrides Function BindToParameter (bindingInfo As ParameterBindingInfo) As Expression

Parameters

bindingInfo
ParameterBindingInfo

The binding information.

Returns

The expression tree.

Applies to

BindToParameter(Expression, Expression)

Source:
ServiceParameterBinding.cs
Source:
ServiceParameterBinding.cs
Source:
ServiceParameterBinding.cs
Source:
ServiceParameterBinding.cs
Source:
ServiceParameterBinding.cs
Source:
ServiceParameterBinding.cs
Source:
ServiceParameterBinding.cs
Source:
ServiceParameterBinding.cs

Creates an expression tree representing the binding of the value of a property from a materialization expression to a parameter of the constructor, factory method, etc.

public abstract System.Linq.Expressions.Expression BindToParameter(System.Linq.Expressions.Expression materializationExpression, System.Linq.Expressions.Expression bindingInfoExpression);
public abstract System.Linq.Expressions.Expression BindToParameter(System.Linq.Expressions.Expression materializationExpression, System.Linq.Expressions.Expression entityTypeExpression);
override this.BindToParameter : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
override this.BindToParameter : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
Public MustOverride Function BindToParameter (materializationExpression As Expression, bindingInfoExpression As Expression) As Expression
Public MustOverride Function BindToParameter (materializationExpression As Expression, entityTypeExpression As Expression) As Expression

Parameters

materializationExpression
Expression

The expression representing the materialization context.

bindingInfoExpressionentityTypeExpression
Expression

The expression representing the ParameterBindingInfo constant.

Returns

The expression tree.

Applies to