次の方法で共有


IndexAttribute コンストラクター

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

規約によって名付けられ、特定の列の順序、クラスタリング、または一意性がないインデックスの新しい IndexAttribute インスタンスを初期化します。

名前空間:  System.ComponentModel.DataAnnotations.Schema
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
Public Sub New
'使用
Dim instance As New IndexAttribute()
public IndexAttribute()
public:
IndexAttribute()
new : unit -> IndexAttribute
public function IndexAttribute()

参照

参照

IndexAttribute クラス

IndexAttribute オーバーロード

System.ComponentModel.DataAnnotations.Schema 名前空間