Table of Contents

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

factory IComplexTypeConverterFactory

The singleton IComplexTypeConverterFactory.

Methods

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Called when a model is being finalized.

public void ProcessModelFinalizing(IConventionModelBuilder modelBuilder, IConventionContext<IConventionModelBuilder> context)

Parameters

modelBuilder IConventionModelBuilder

The builder for the model.

context IConventionContext<IConventionModelBuilder>

Additional information associated with convention execution.