DataServiceContext.Entities 属性

定义

获取当前正在由 <a0/a0> 跟踪的所有资源的列表。

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

注解

如果未跟踪任何资源,则返回包含零个元素的列表。

适用于