共用方式為


DependencyInjectionParameterBinding.BindToParameter 方法

定義

建立運算式樹狀結構,表示從具體化運算式到建構函式、Factory 方法等參數之屬性值的系結。

public override System.Linq.Expressions.Expression BindToParameter (System.Linq.Expressions.Expression materializationExpression, System.Linq.Expressions.Expression entityTypeExpression);
public override System.Linq.Expressions.Expression BindToParameter (System.Linq.Expressions.Expression materializationExpression, System.Linq.Expressions.Expression bindingInfoExpression);
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 Overrides Function BindToParameter (materializationExpression As Expression, entityTypeExpression As Expression) As Expression
Public Overrides Function BindToParameter (materializationExpression As Expression, bindingInfoExpression As Expression) As Expression

參數

materializationExpression
Expression

表示具體化內容的運算式。

entityTypeExpressionbindingInfoExpression
Expression

表示常數的 IEntityType 運算式。

傳回

運算式樹狀架構。

適用於