Share via


IInstantiationBindingInterceptor.ModifyBinding Method

Definition

Returns a new InstantiationBinding for the given entity type, potentially modified from the given binding.

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

Parameters

interceptionData
InstantiationBindingInterceptionData

Contextual information about the binding.

binding
InstantiationBinding

The current binding.

Returns

A new binding.

Applies to