Class KEFCoreComplexTypeConverterConvention
- Namespace
- MASES.EntityFrameworkCore.KNet.Metadata.Conventions
- Assembly
- MASES.EntityFrameworkCore.KNet.dll
A convention that registers IComplexTypeConverter implementations
declared via KEFCoreComplexTypeConverterAttribute or
HasKEFCoreComplexTypeConverter() into IComplexTypeConverterFactory
at model finalization time.
public class KEFCoreComplexTypeConverterConvention : IModelFinalizingConvention, IConvention
- Inheritance
-
KEFCoreComplexTypeConverterConvention
- Implements
- Inherited Members
Constructors
KEFCoreComplexTypeConverterConvention(IComplexTypeConverterFactory)
Initializes a new instance of KEFCoreComplexTypeConverterConvention.
public KEFCoreComplexTypeConverterConvention(IComplexTypeConverterFactory factory)
Parameters
factoryIComplexTypeConverterFactoryThe singleton IComplexTypeConverterFactory.
Methods
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)
Called when a model is being finalized.
public void ProcessModelFinalizing(IConventionModelBuilder modelBuilder, IConventionContext<IConventionModelBuilder> context)
Parameters
modelBuilderIConventionModelBuilderThe builder for the model.
contextIConventionContext<IConventionModelBuilder>Additional information associated with convention execution.