IInstantiationBindingInterceptor.ModifyBinding Method
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.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework