Share via


IInstantiationBindingInterceptor Interface

Definition

A ISingletonInterceptor used to modify the InstantiationBinding used when creating entity instances.

public interface IInstantiationBindingInterceptor : Microsoft.EntityFrameworkCore.Diagnostics.ISingletonInterceptor
type IInstantiationBindingInterceptor = interface
    interface ISingletonInterceptor
    interface IInterceptor
Public Interface IInstantiationBindingInterceptor
Implements ISingletonInterceptor
Implements

Remarks

InstantiationBinding instances define how to create an entity instance through the binding of EF model properties to, for example, constructor parameters or parameters of a factory method. This is then built into the expression tree which is compiled into a delegate used to materialize entity instances.

Methods

ModifyBinding(InstantiationBindingInterceptionData, InstantiationBinding)

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

Applies to