Partilhar via


IInstantiationBindingInterceptor.ModifyBinding Método

Definição

Retorna um novo InstantiationBinding para o tipo de entidade fornecido, potencialmente modificado da associação fornecida.

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

Parâmetros

interceptionData
InstantiationBindingInterceptionData

Informações contextuais sobre a associação.

binding
InstantiationBinding

A associação atual.

Retornos

Uma nova associação.

Aplica-se a