System.ComponentModel.DataAnnotations.Schema 命名空間
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
類別
類別 | 描述 | |
---|---|---|
IndexAttribute | 表示為屬性 (Property) 添加的屬性 (Attribute),可指出屬性 (property) 所對應的資料庫資料行具有索引。 |