Device |
Device Repository provides CRUD operations for devices
Inheritance Hierarchy
System.Object
Gamanet.C4.SDK.DeviceRepository
Gamanet.C4.SDK.DeviceRepositoryV2
Gamanet.C4.SDK.DeviceRepositoryV3
Gamanet.C4.SDK.DeviceRepositoryV4
Gamanet.C4.SDK.DeviceRepository
Gamanet.C4.SDK.DeviceRepositoryV2
Gamanet.C4.SDK.DeviceRepositoryV3
Gamanet.C4.SDK.DeviceRepositoryV4
Namespace: Gamanet.C4.SDK
Assembly: Gamanet.C4.SimpleClient (in Gamanet.C4.SimpleClient.dll) Version: 2026.0.0.733
Syntax
C#
public class DeviceRepositoryV3 : DeviceRepositoryV2, ISimpleClientDeviceRepositoryV3, ISimpleClientDeviceRepositoryV2, ISimpleClientDeviceRepositoryV1, IFilterable<SimpleDeviceV1, Guid>, IEntitySourceRepository<SimpleDeviceV1>, ICacheableRepository
The DeviceRepositoryV3 type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| CachingEnabled |
Gets or sets a value indicating whether is caching enabled for current repository.
This setting can override global CachingEnabled setting in Config..
(Inherited from DeviceRepositoryV2) |
Methods
| Name | Description | |
|---|---|---|
| AddOrUpdateDeviceMemoryUsage | Adds the or update device memory usage. (Inherited from DeviceRepositoryV2) | |
| Archive | Archive existing device. All child devices in tree are archived too. (Inherited from DeviceRepository) | |
| Create | Create new device. (Inherited from DeviceRepository) | |
| CreateAndGet |
Create and get device
(Inherited from DeviceRepository) | |
| CreatePhoto |
Creates the photo.
(Inherited from DeviceRepository) | |
| Delete |
Delete existing device. All child devices in tree are deleted too.
(Inherited from DeviceRepository) | |
| DeletePhoto |
Deletes the photo.
(Inherited from DeviceRepository) | |
| Filter(Guid, IDictionary<String, Object>) | Filter all devices. (Inherited from DeviceRepository) | |
| Filter(Guid, IDictionary<String, Object>, Int32, Guid) | Filter all devices. (Inherited from DeviceRepository) | |
| FlushCache |
Flushes all cached data for current repository.
(Inherited from DeviceRepositoryV2) | |
| Get(Guid, Properties) | Get the specified device by identifier with specified properties. (Inherited from DeviceRepository) | |
| Get(Guid, String) | Get the specified device by identifier with specified prefix properties. (Inherited from DeviceRepository) | |
| GetAll() | Gets all devices with none data under Device root, included Device root (Access Levels are excluded). (Inherited from DeviceRepository) | |
| GetAll(Guid, Properties) | Get all devices under specified root with specified properties. (Inherited from DeviceRepository) | |
| GetAll(Guid, String) | Get all devices under specified root with specified prefix properties. (Inherited from DeviceRepository) | |
| GetAll(Guid, Properties, Boolean) |
GetAll
(Inherited from DeviceRepository) | |
| GetAll(Guid, String, Boolean) |
GetAll
(Inherited from DeviceRepository) | |
| GetAllByAgent | Get all by agent | |
| GetAllByCategory | Get all by category | |
| GetAllByProfile | Get Devices by profile/summary> | |
| GetAllByTransaction | Get Devices by transaction | |
| GetAllChildrenAndParents | Get all children and parents | |
| GetAllChildrenSupportCommand | Get Devices which support command | |
| GetAllDeviceMemoryUsage | Gets all device memory usage. (Inherited from DeviceRepositoryV2) | |
| GetAllParents | Get all parents | |
| GetAllParentsWithReferences | Get all parents with references, node is always included. | |
| GetArchivedWithParents | Get archived devices with special data for Client tree. | |
| GetBusControllersByAgent | Get Bus Controllers by agent | |
| GetDeviceMemoryInfoForDevice | Gets the device memory information for device. (Inherited from DeviceRepositoryV2) | |
| GetDeviceMemoryInfoForPerson | Gets the device memory information for person. (Inherited from DeviceRepositoryV2) | |
| GetDeviceMemoryUsage | Gets the device memory usage. (Inherited from DeviceRepositoryV2) | |
| GetDevicesByPersonAccess | Get Devices by person have access | |
| GetDirectChildren | Get Device Direct Childrens | |
| GetEntryPointsWithParents | Get device entry points with parents | |
| GetPhoto |
Gets the photo.
(Inherited from DeviceRepository) | |
| GetPhotoInfo |
Gets the photo information.
(Inherited from DeviceRepository) | |
| GetPhotoThumbnail |
Gets the photo thumbnail.
(Inherited from DeviceRepository) | |
| GetPhotoThumbnailInfo |
Gets the photo thumbnail information.
(Inherited from DeviceRepository) | |
| Import | Import the list of devices.
If a device already exists, it will be updated and if it does not exist, it will be created. (Inherited from DeviceRepository) | |
| Restore | Restore existing devices by restore mode. (Inherited from DeviceRepository) | |
| Search(String) | Search device Ids by search text. | |
| Search(Guid, IDictionary<String, Object>) | Searche device ids. (Inherited from DeviceRepository) | |
| SearchAll | Search devices by search text. | |
| SearchBusControllers | Search text in all devices and get only Bus Controller parents. | |
| Update | Update existing device. (Inherited from DeviceRepository) | |
| UpdateAndGet |
Update and get device
(Inherited from DeviceRepository) | |
| UpdateDeviceMemoryInfo | Updates the device memory information. (Inherited from DeviceRepositoryV2) | |
| UpdatePhoto |
Updates the photo.
(Inherited from DeviceRepository) |
Extension Methods
| Name | Description | |
|---|---|---|
| ToInvariantString |
To the invariant string.
(Defined by Extensions) |
See Also