Sdílet prostřednictvím


System.ComponentModel.DataAnnotations.Schema Namespace

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Contains attributes that are used to provide additional information about classes and properties. These attributes are consumed by Code First when discovering a conceptual model.

Classes

  Class Description
Public class DatabaseGeneratedAttribute Specifies how the database generates values for a property.

Enumerations

  Enumeration Description
Public enumeration DatabaseGeneratedOption The pattern used to generate values for a property in the database.