Share via


DataServiceContext.Entities 屬性

定義

取得 DataServiceContext 目前正在追蹤的所有資源之清單。

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::Data::Services::Client::EntityDescriptor ^> ^ Entities { System::Collections::ObjectModel::ReadOnlyCollection<System::Data::Services::Client::EntityDescriptor ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Services.Client.EntityDescriptor> Entities { get; }
member this.Entities : System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Services.Client.EntityDescriptor>
Public ReadOnly Property Entities As ReadOnlyCollection(Of EntityDescriptor)

屬性值

EntityDescriptor 物件的清單,代表 DataServiceContext 目前正在追蹤的所有資源。

備註

如果沒有正在追蹤的資源,則傳回零個元素的清單。

適用於