Share via


ElementMappingConvention Class

Definition

A convention that ensures property mappings have any ElementMapping discovered by the type mapper.

[System.Runtime.CompilerServices.Nullable(0)]
public class ElementMappingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type ElementMappingConvention = class
    interface IModelFinalizingConvention
    interface IConvention
Public Class ElementMappingConvention
Implements IModelFinalizingConvention
Inheritance
ElementMappingConvention
Attributes
Implements

Remarks

See Model building conventions for more information and examples.

Constructors

Name Description
ElementMappingConvention(ProviderConventionSetBuilderDependencies)

Creates a new instance of ElementMappingConvention.

Properties

Name Description
Dependencies

Dependencies for this service.

Methods

Name Description
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Called when a model is being finalized.

Applies to