Table of Contents

Class NotSupportedPropertyAttributeConvention<T>

Namespace
MongoDB.EntityFrameworkCore.Metadata.Conventions
Assembly
MongoDB.EntityFrameworkCore.dll

Abstract class to register unsupported attributes on properties as NotSupportedAttributes allowing MongoModelValidator to throw when encountered.

public abstract class NotSupportedPropertyAttributeConvention<T> : PropertyAttributeConventionBase<T>, IPropertyAddedConvention, IPropertyFieldChangedConvention, IConvention where T : Attribute

Type Parameters

T

The type of Attribute to register as unsupported.

Inheritance
NotSupportedPropertyAttributeConvention<T>
Implements
Derived
Inherited Members

Constructors

NotSupportedPropertyAttributeConvention(ProviderConventionSetBuilderDependencies)

Abstract class to register unsupported attributes on properties as NotSupportedAttributes allowing MongoModelValidator to throw when encountered.

Methods

ProcessPropertyAdded(IConventionPropertyBuilder, T, MemberInfo, IConventionContext)

Called after a property is added to the entity type with an attribute on the associated CLR property or field.