Bagikan melalui


DependencyInjectionParameterBinding.BindToParameter Metode

Definisi

Membuat pohon ekspresi yang mewakili pengikatan nilai properti dari ekspresi materialisasi ke parameter konstruktor, metode pabrik, dll.

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

Parameter

materializationExpression
Expression

Ekspresi yang mewakili konteks materialisasi.

entityTypeExpressionbindingInfoExpression
Expression

Ekspresi yang IEntityType mewakili konstanta.

Mengembalikan

Pohon ekspresi.

Berlaku untuk