ContextParameterBinding.BindToParameter(Expression, Expression) 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 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 (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
Parameters
- materializationExpression
- Expression
The expression representing the materialization context.
- entityTypeExpressionbindingInfoExpression
- Expression
The expression representing the IEntityType constant.
Returns
The expression tree.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor