System.ComponentModel.DataAnnotations.Schema

System.ComponentModel.DataAnnotations.Schema Namespace

.NET Framework (current version)
 

The System.ComponentModel.DataAnnotations.Schema namespace provides support for attribute classes that are used to define metadata for ASP.NET MVC and ASP.NET data controls.

ClassDescription
System_CAPS_pubclassColumnAttribute

Represents the database column that a property is mapped to.

System_CAPS_pubclassComplexTypeAttribute

Denotes that the class is a complex type. Complex types are non-scalar properties of entity types that enable scalar properties to be organized within entities. Complex types do not have keys and cannot be managed by the Entity Framework apart from the parent object.

System_CAPS_pubclassDatabaseGeneratedAttribute

Specifies how the database generates values for a property.

System_CAPS_pubclassForeignKeyAttribute

Denotes a property used as a foreign key in a relationship. The annotation may be placed on the foreign key property and specify the associated navigation property name, or placed on a navigation property and specify the associated foreign key name.

System_CAPS_pubclassInversePropertyAttribute

Specifies the inverse of a navigation property that represents the other end of the same relationship.

System_CAPS_pubclassNotMappedAttribute

Denotes that a property or class should be excluded from database mapping.

System_CAPS_pubclassTableAttribute

Specifies the database table that a class is mapped to.

EnumerationDescription
System_CAPS_pubenumDatabaseGeneratedOption

Represents the pattern used to generate values for a property in the database.

Return to top
Show:
© 2016 Microsoft