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
Комментарии
Если ресурсы не отслеживаются, возвращается список с нулевыми элементами.