共用方式為


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

目前的系結。

傳回

新的系結。

適用於