Share via


NotMappedTypeAttributeConvention Class

Definition

Convention to process instances of NotMappedAttribute found on types in the model.

public class NotMappedTypeAttributeConvention : System.Data.Entity.ModelConfiguration.Conventions.TypeAttributeConfigurationConvention<System.ComponentModel.DataAnnotations.Schema.NotMappedAttribute>
type NotMappedTypeAttributeConvention = class
    inherit TypeAttributeConfigurationConvention<NotMappedAttribute>
Public Class NotMappedTypeAttributeConvention
Inherits TypeAttributeConfigurationConvention(Of NotMappedAttribute)
Inheritance
Inheritance
NotMappedTypeAttributeConvention

Constructors

NotMappedTypeAttributeConvention()

Methods

Apply(ConventionTypeConfiguration, NotMappedAttribute)

Applies this convention to a class that has an attribute of type TAttribute applied.

Apply(ConventionTypeConfiguration, TAttribute)

Applies this convention to a class that has an attribute of type TAttribute applied.

(Inherited from TypeAttributeConfigurationConvention<TAttribute>)
Properties()

Begins configuration of a lightweight convention that applies to all properties in the model.

(Inherited from Convention)
Properties<T>()

Begins configuration of a lightweight convention that applies to all primitive properties of the specified type in the model.

(Inherited from Convention)
Types()

Begins configuration of a lightweight convention that applies to all mapped types in the model.

(Inherited from Convention)
Types<T>()

Begins configuration of a lightweight convention that applies to all mapped types in the model that derive from or implement the specified type.

(Inherited from Convention)

Applies to