次の方法で共有


DataServiceContext.Entities プロパティ

現在 DataServiceContext によって追跡されているすべてのリソースの一覧を取得します。

名前空間:  System.Data.Services.Client
アセンブリ:  Microsoft.Data.Services.Client (Microsoft.Data.Services.Client.dll)

構文

'宣言
Public ReadOnly Property Entities As ReadOnlyCollection(Of EntityDescriptor)
    Get
'使用
Dim instance As DataServiceContext
Dim value As ReadOnlyCollection(Of EntityDescriptor)

value = instance.Entities
public ReadOnlyCollection<EntityDescriptor> Entities { get; }
public:
property ReadOnlyCollection<EntityDescriptor^>^ Entities {
    ReadOnlyCollection<EntityDescriptor^>^ get ();
}
member Entities : ReadOnlyCollection<EntityDescriptor>
function get Entities () : ReadOnlyCollection<EntityDescriptor>

プロパティ値

型: System.Collections.ObjectModel.ReadOnlyCollection<EntityDescriptor>
現在 DataServiceContext によって追跡されているすべてのリソースを表す EntityDescriptor オブジェクトの一覧。

説明

追跡されているリソースがない場合は、要素がゼロの一覧が返されます。

関連項目

参照

DataServiceContext クラス

System.Data.Services.Client 名前空間