IInstantiationBindingInterceptor.ModifyBinding 方法

定义

返回给定实体类型的新 InstantiationBinding 值,该类型可能从给定绑定中修改。

public Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding ModifyBinding (Microsoft.EntityFrameworkCore.Diagnostics.InstantiationBindingInterceptionData interceptionData, Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding binding);
abstract member ModifyBinding : Microsoft.EntityFrameworkCore.Diagnostics.InstantiationBindingInterceptionData * Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding -> Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding
Public Function ModifyBinding (interceptionData As InstantiationBindingInterceptionData, binding As InstantiationBinding) As InstantiationBinding

参数

interceptionData
InstantiationBindingInterceptionData

有关绑定的上下文信息。

binding
InstantiationBinding

当前绑定。

返回

新绑定。

适用于