クライアント データ サービス クラスが属するエンティティ セットを示します。
継承階層
System.Object
System.Attribute
System.Data.Services.Common.EntitySetAttribute
名前空間: System.Data.Services.Common
アセンブリ: Microsoft.Data.Services.Client (Microsoft.Data.Services.Client.dll)
構文
'宣言
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False)> _
Public NotInheritable Class EntitySetAttribute _
Inherits Attribute
'使用
Dim instance As EntitySetAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)]
public sealed class EntitySetAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false)]
public ref class EntitySetAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)>]
type EntitySetAttribute =
class
inherit Attribute
end
public final class EntitySetAttribute extends Attribute
EntitySetAttribute 型は、以下のメンバーを公開しています。
コンストラクター
| 名前 | 説明 | |
|---|---|---|
![]() |
EntitySetAttribute | EntitySetAttribute の新しいインスタンスを作成します。 |
先頭に戻る
プロパティ
| 名前 | 説明 | |
|---|---|---|
![]() |
EntitySet | クラスが属するエンティティ セットを取得します。 |
![]() |
TypeId | (Attribute から継承されています。) |
先頭に戻る
メソッド
| 名前 | 説明 | |
|---|---|---|
![]() |
Equals | (Attribute から継承されています。) |
![]() |
Finalize | (Object から継承されています。) |
![]() |
GetHashCode | (Attribute から継承されています。) |
![]() |
GetType | (Object から継承されています。) |
![]() |
IsDefaultAttribute | (Attribute から継承されています。) |
![]() |
Match | (Attribute から継承されています。) |
![]() |
MemberwiseClone | (Object から継承されています。) |
![]() |
ToString | (Object から継承されています。) |
先頭に戻る
明示的なインターフェイスの実装
| 名前 | 説明 | |
|---|---|---|
![]() ![]() |
_Attribute.GetIDsOfNames | (Attribute から継承されています。) |
![]() ![]() |
_Attribute.GetTypeInfo | (Attribute から継承されています。) |
![]() ![]() |
_Attribute.GetTypeInfoCount | (Attribute から継承されています。) |
![]() ![]() |
_Attribute.Invoke | (Attribute から継承されています。) |
先頭に戻る
説明
EntitySetAttribute クラスは、クラスが属するエンティティ セットの名前を特定するために、データ バインド中にクライアントによって使用されます。 この属性は、Binding オプションを使用するときは [サービス参照の追加] ダイアログ ボックスで生成します。また、/binding オプションを指定するときは DataSvcUtil.exe ツールで生成します。
EntitySetAttribute は、データ バインドで使用されるユーザー指定のクライアント データ サービス クラスに適用する必要があります。
EntitySetAttribute は、型に 1 つのエンティティ セットが関連付けられている場合にのみサポートされます。
スレッド セーフ
この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。
.gif)
.gif)
.gif)
.gif)
.gif)