DeviceRepositoryV3 Class

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

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
 NameDescription
Public propertyCachingEnabled 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)
Top
Methods
 NameDescription
Public methodCode exampleAddOrUpdateDeviceMemoryUsageAdds the or update device memory usage.
(Inherited from DeviceRepositoryV2)
Public methodCode exampleArchiveArchive existing device. All child devices in tree are archived too.
(Inherited from DeviceRepository)
Public methodCode exampleCreateCreate new device.
(Inherited from DeviceRepository)
Public methodCode exampleCreateAndGet Create and get device
(Inherited from DeviceRepository)
Public methodCode exampleCreatePhoto Creates the photo.
(Inherited from DeviceRepository)
Public methodCode exampleDelete Delete existing device. All child devices in tree are deleted too.
(Inherited from DeviceRepository)
Public methodCode exampleDeletePhoto Deletes the photo.
(Inherited from DeviceRepository)
Public methodFilter(Guid, IDictionary<String, Object>)Filter all devices.
(Inherited from DeviceRepository)
Public methodFilter(Guid, IDictionary<String, Object>, Int32, Guid)Filter all devices.
(Inherited from DeviceRepository)
Public methodFlushCache Flushes all cached data for current repository.
(Inherited from DeviceRepositoryV2)
Public methodCode exampleGet(Guid, Properties)Get the specified device by identifier with specified properties.
(Inherited from DeviceRepository)
Public methodCode exampleGet(Guid, String)Get the specified device by identifier with specified prefix properties.
(Inherited from DeviceRepository)
Public methodCode exampleGetAll()Gets all devices with none data under Device root, included Device root (Access Levels are excluded).
(Inherited from DeviceRepository)
Public methodCode exampleGetAll(Guid, Properties)Get all devices under specified root with specified properties.
(Inherited from DeviceRepository)
Public methodCode exampleGetAll(Guid, String)Get all devices under specified root with specified prefix properties.
(Inherited from DeviceRepository)
Public methodCode exampleGetAll(Guid, Properties, Boolean) GetAll
(Inherited from DeviceRepository)
Public methodCode exampleGetAll(Guid, String, Boolean) GetAll
(Inherited from DeviceRepository)
Public methodCode exampleGetAllByAgentGet all by agent
Public methodCode exampleGetAllByCategoryGet all by category
Public methodCode exampleGetAllByProfileGet Devices by profile/summary>
Public methodCode exampleGetAllByTransactionGet Devices by transaction
Public methodCode exampleGetAllChildrenAndParentsGet all children and parents
Public methodCode exampleGetAllChildrenSupportCommandGet Devices which support command
Public methodCode exampleGetAllDeviceMemoryUsageGets all device memory usage.
(Inherited from DeviceRepositoryV2)
Public methodCode exampleGetAllParentsGet all parents
Public methodCode exampleGetAllParentsWithReferencesGet all parents with references, node is always included.
Public methodCode exampleGetArchivedWithParentsGet archived devices with special data for Client tree.
Public methodCode exampleGetBusControllersByAgentGet Bus Controllers by agent
Public methodGetDeviceMemoryInfoForDeviceGets the device memory information for device.
(Inherited from DeviceRepositoryV2)
Public methodGetDeviceMemoryInfoForPersonGets the device memory information for person.
(Inherited from DeviceRepositoryV2)
Public methodGetDeviceMemoryUsageGets the device memory usage.
(Inherited from DeviceRepositoryV2)
Public methodCode exampleGetDevicesByPersonAccessGet Devices by person have access
Public methodCode exampleGetDirectChildrenGet Device Direct Childrens
Public methodCode exampleGetEntryPointsWithParentsGet device entry points with parents
Public methodCode exampleGetPhoto Gets the photo.
(Inherited from DeviceRepository)
Public methodCode exampleGetPhotoInfo Gets the photo information.
(Inherited from DeviceRepository)
Public methodGetPhotoThumbnail Gets the photo thumbnail.
(Inherited from DeviceRepository)
Public methodCode exampleGetPhotoThumbnailInfo Gets the photo thumbnail information.
(Inherited from DeviceRepository)
Public methodCode exampleImportImport 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)
Public methodCode exampleRestoreRestore existing devices by restore mode.
(Inherited from DeviceRepository)
Public methodCode exampleSearch(String)Search device Ids by search text.
Public methodSearch(Guid, IDictionary<String, Object>)Searche device ids.
(Inherited from DeviceRepository)
Public methodCode exampleSearchAllSearch devices by search text.
Public methodCode exampleSearchBusControllersSearch text in all devices and get only Bus Controller parents.
Public methodCode exampleUpdateUpdate existing device.
(Inherited from DeviceRepository)
Public methodCode exampleUpdateAndGet Update and get device
(Inherited from DeviceRepository)
Public methodCode exampleUpdateDeviceMemoryInfoUpdates the device memory information.
(Inherited from DeviceRepositoryV2)
Public methodCode exampleUpdatePhoto Updates the photo.
(Inherited from DeviceRepository)
Top
Extension Methods
 NameDescription
Public Extension MethodCode exampleToInvariantString To the invariant string.
(Defined by Extensions)
Top
See Also

Reference

Gamanet.C4.SDK Namespace