NotMappedPropertyAttributeConvention Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Convention to process instances of NotMappedAttribute found on properties in the model.
public class NotMappedPropertyAttributeConvention : System.Data.Entity.ModelConfiguration.Conventions.PropertyAttributeConfigurationConvention<System.ComponentModel.DataAnnotations.Schema.NotMappedAttribute>
type NotMappedPropertyAttributeConvention = class
inherit PropertyAttributeConfigurationConvention<NotMappedAttribute>
Public Class NotMappedPropertyAttributeConvention
Inherits PropertyAttributeConfigurationConvention(Of NotMappedAttribute)
- Inheritance
-
NotMappedPropertyAttributeConvention
- Inheritance
-
NotMappedPropertyAttributeConvention
Constructors
NotMappedPropertyAttributeConvention() |
Methods
Apply(PropertyInfo, ConventionTypeConfiguration, NotMappedAttribute) |
Applies this convention to a property that has an attribute of type TAttribute applied. |
Apply(PropertyInfo, ConventionTypeConfiguration, TAttribute) |
Applies this convention to a property that has an attribute of type TAttribute applied. (Inherited from PropertyAttributeConfigurationConvention<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
Entity Framework