IInstantiationBindingInterceptor Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework