Region |
Region Repository provides CRUD operations for regions
Inheritance Hierarchy
System.Object
Gamanet.C4.SDK.RegionRepository
Gamanet.C4.SDK.RegionRepositoryV2
Gamanet.C4.SDK.RegionRepositoryV3
Gamanet.C4.SDK.RegionRepositoryV4
Gamanet.C4.SDK.RegionRepository
Gamanet.C4.SDK.RegionRepositoryV2
Gamanet.C4.SDK.RegionRepositoryV3
Gamanet.C4.SDK.RegionRepositoryV4
Namespace: Gamanet.C4.SDK
Assembly: Gamanet.C4.SimpleClient (in Gamanet.C4.SimpleClient.dll) Version: 2026.0.0.733
Syntax
C#
public class RegionRepositoryV4 : RegionRepositoryV3, ISimpleClientRegionRepositoryV4, ISimpleClientRegionRepositoryV3, ISimpleClientRegionRepositoryV2, ISimpleClientRegionRepositoryV1, IFilterable<SimpleRegionV1, Guid>, IEntitySourceRepository<SimpleRegionV1>, ICacheableRepository
The RegionRepositoryV4 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 RegionRepositoryV2) |
Methods
| Name | Description | |
|---|---|---|
| Archive | Archive existing region. All child regions in tree are archived too. (Inherited from RegionRepository) | |
| Create | Create new region. (Inherited from RegionRepository) | |
| CreateGraphics(Guid, GraphicsObjectV1) |
Creates the graphics.
(Inherited from RegionRepository) | |
| CreateGraphics(Guid, GraphicsObjectV4) | Creates a new graphics object. | |
| CreateOrUpdateMapImage | Creates or updates a map image for a specific region. | |
| CreatePhoto |
Creates the photo.
(Inherited from RegionRepository) | |
| CreatePhotoThumbnail | Creates a photo thumbnail for a specific region. | |
| Delete | Delete existing region. All child regions in tree are deleted too. (Inherited from RegionRepository) | |
| DeleteGraphics |
Deletes the graphics.
(Inherited from RegionRepository) | |
| DeleteMapImage | Deletes the map image for a specific region. | |
| DeletePhoto |
Deletes the photo.
(Inherited from RegionRepository) | |
| DeletePhotoThumbnail | Deletes the photo thumbnail for a specific region. | |
| Filter(Guid, IDictionary<String, Object>) |
Filter all regions.
(Inherited from RegionRepository) | |
| Filter(Guid, IDictionary<String, Object>, Int32, Guid) |
Filter all regions.
(Inherited from RegionRepository) | |
| FlushCache |
Flushes all cached data for current repository.
(Inherited from RegionRepositoryV2) | |
| Get(Guid, Properties) | Get region by identifier with specified properties. (Inherited from RegionRepository) | |
| Get(Guid, String) | Get region by identifier with specified prefix properties. (Inherited from RegionRepository) | |
| GetAll() | Gets all Regions with none data under Region root, included Region root. (Inherited from RegionRepository) | |
| GetAll(Guid, Properties) | Get all regions under specified root with specified properties. (Inherited from RegionRepository) | |
| GetAll(Guid, String) | Get all regions under specified root with specified prefix properties. (Inherited from RegionRepository) | |
| GetAll(Guid, Properties, Boolean) |
GetAll
(Inherited from RegionRepository) | |
| GetAll(Guid, String, Boolean) |
Get all by prefix
(Inherited from RegionRepository) | |
| GetAllByDevice | Retrieves all regions associated with a specific device. | |
| GetAllGraphicsObjects(Guid) | Retrieves all graphics objects for a graphic module. | |
| GetAllGraphicsObjects(Guid, Boolean) | Retrieves all graphics objects for a graphic module, with an option to include media. | |
| GetAllGraphicsObjects(Guid, Guid, Boolean) |
Gets all graphics objects.
(Inherited from RegionRepository) | |
| GetAllPhotoInfo | Retrieves metadata information for all persons that have a photo. | |
| GetAllVisualized | Retrieves all visualized regions. | |
| GetArchivedWithParents | Retrieves archived regions along with their parent regions. | |
| GetDirectChildren | Retrieves the direct children of a specific region. | |
| GetGraphicsForRegion | Retrieves graphics objects for a specific region and graphic module, with an option to include media stream. | |
| GetGraphicsObjectMedia | Retrieves the media associated with a specific graphics object. | |
| GetMapImage | Retrieves the map image for a specific region. | |
| GetMapImageInfo | Retrieves metadata information for the map image of a specific region. | |
| GetPhoto |
Gets the photo.
(Inherited from RegionRepository) | |
| GetPhotoInfo |
Gets the photo information.
(Inherited from RegionRepository) | |
| GetPhotoThumbnail |
Gets the photo thumbnail.
(Inherited from RegionRepository) | |
| GetPhotoThumbnailInfo |
Gets the photo thumbnail information.
(Inherited from RegionRepository) | |
| Import |
Imports the list of regions.
If a region already exists, it will be updated and if it does not exist, it will be created.
(Inherited from RegionRepository) | |
| IsChildOf | Determines if a region is a child of another region. | |
| Restore | Restore existing regions by restore mode. (Inherited from RegionRepository) | |
| Search(String) | (Inherited from RegionRepositoryV3) | |
| Search(Guid, IDictionary<String, Object>) |
Search region ids.
(Inherited from RegionRepository) | |
| SearchAll | (Inherited from RegionRepositoryV3) | |
| Update | (Inherited from RegionRepository) | |
| UpdateGraphics(GraphicsObjectV1) |
Updates the graphics.
(Inherited from RegionRepository) | |
| UpdateGraphics(GraphicsObjectV4) | Updates an existing graphics object. | |
| UpdatePhoto |
Updates the photo.
(Inherited from RegionRepository) | |
| UpdatePhotoThumbnail | Updates the photo thumbnail for a specific region. |
Extension Methods
| Name | Description | |
|---|---|---|
| ToInvariantString |
To the invariant string.
(Defined by Extensions) |
See Also