System.ComponentModel.DataAnnotations.Schema Namespace
.NET Framework 4.5
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.
| Class | Description | |
|---|---|---|
|
ColumnAttribute | Represents a column attribute. |
|
ComplexTypeAttribute | Denotes that the class is a complex type. |
|
DatabaseGeneratedAttribute | Represents a database generated attribute. |
|
ForeignKeyAttribute | Denotes a property used as a foreign key in a relationship. |
|
InversePropertyAttribute | Represents an inverse property attribute. |
|
NotMappedAttribute | Denotes that a property or class should be excluded from database mapping. |
|
TableAttribute | Specifies the database table that a class is mapped to. |
| Enumeration | Description | |
|---|---|---|
|
DatabaseGeneratedOption | Enumerates a database generated options. |