Επεξεργασία

Κοινή χρήση μέσω


DataServiceContext.Entities Property

Definition

Gets a list of all the resources currently being tracked by the 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)

Property Value

A list of EntityDescriptor objects that represent all the resources currently being tracked by the DataServiceContext.

Remarks

If no resources are being tracked, a list that has zero elements is returned.

Applies to