IndexAttribute クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
データベースで生成されるインデックスを指定します。
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
[System.Runtime.CompilerServices.Nullable(0)]
public sealed class IndexAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class IndexAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type IndexAttribute = class
inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type IndexAttribute = class
inherit Attribute
Public NotInheritable Class IndexAttribute
Inherits Attribute
- 継承
-
IndexAttribute
- 属性
注釈
詳細と例については、 エンティティの型とリレーションシップのモデル化 を参照してください。
コンストラクター
| Name | 説明 |
|---|---|
| IndexAttribute(String, String[]) |
IndexAttribute クラスの新しいインスタンスを初期化します。 |
| IndexAttribute(String[]) |
古い.
IndexAttribute クラスの新しいインスタンスを初期化します。 |
プロパティ
| Name | 説明 |
|---|---|
| AllDescending |
すべてのインデックス列に降順の並べ替え順序があるかどうか。 |
| IsDescending |
対応する各インデックス列に降順の並べ替え順序があるかどうかを示す値のセット。 |
| IsUnique |
インデックスが一意かどうか。 |
| IsUniqueHasValue |
IsUniqueが値に明示的に設定されているかどうかを確認します。 |
| Name |
インデックスの名前です。 |
| PropertyNames |
インデックスを構成するプロパティを順番に指定します。 |