Share via


RelationalMapToJsonConvention Class

Definition

A convention that configures default settings for an entity mapped to a JSON column.

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

Remarks

See Model building conventions for more information and examples.

Constructors

Name Description
RelationalMapToJsonConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Creates a new instance of RelationalMapToJsonConvention.

Properties

Name Description
Dependencies

Dependencies for this service.

RelationalDependencies

Relational provider-specific dependencies for this service.

Methods

Name Description
ProcessEntityTypeAnnotationChanged(IConventionEntityTypeBuilder, String, IConventionAnnotation, IConventionAnnotation, IConventionContext<IConventionAnnotation>)
Obsolete.

Called after an annotation is changed on an entity type.

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Called when a model is being finalized.

Applies to