Person |
Person Repository provides CRUD operations for persons
Inheritance Hierarchy
System.Object
Gamanet.C4.SDK.PersonRepository
Gamanet.C4.SDK.PersonRepositoryV2
Gamanet.C4.SDK.PersonRepositoryV3
Gamanet.C4.SDK.PersonRepository
Gamanet.C4.SDK.PersonRepositoryV2
Gamanet.C4.SDK.PersonRepositoryV3
Namespace: Gamanet.C4.SDK
Assembly: Gamanet.C4.SimpleClient (in Gamanet.C4.SimpleClient.dll) Version: 2026.0.0.733
Syntax
C#
public class PersonRepositoryV2 : PersonRepository, ISimpleClientPersonRepositoryV2, ISimpleClientPersonRepositoryV1, IFilterable<SimplePersonV1, Guid>, IEntitySourceRepository<SimplePersonV1>, ICacheableRepository
The PersonRepositoryV2 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.. |
Methods
| Name | Description | |
|---|---|---|
| Archive | Archive existing person. All child persons in tree are archived too. (Inherited from PersonRepository) | |
| Create | Create new person. (Inherited from PersonRepository) | |
| CreatePhoto |
Creates photo.
(Inherited from PersonRepository) | |
| Delete | Delete existing person. All child persons in tree are deleted too. (Inherited from PersonRepository) | |
| DeletePhoto |
Deletes photo.
(Inherited from PersonRepository) | |
| Filter(Guid, IDictionary<String, Object>) |
Filter all persons.
(Inherited from PersonRepository) | |
| Filter(Guid, IDictionary<String, Object>, Int32, Guid) |
Filter all persons.
(Inherited from PersonRepository) | |
| FlushCache | Flushes all cached data for current repository. | |
| Get(Guid, Properties) | Get person by identifier with specified properties. (Inherited from PersonRepository) | |
| Get(Guid, String) | Get person by identifier with specified index properties. (Inherited from PersonRepository) | |
| GetAll() | Gets all persons with none data under Person root, included Person root (Groups and Roles are excluded). (Inherited from PersonRepository) | |
| GetAll(Guid, Properties) | Get all persons under specified root with specified properties. (Inherited from PersonRepository) | |
| GetAll(Guid, String) | Get all persons under specified root with specified prefix properties. (Inherited from PersonRepository) | |
| GetAll(Guid, Properties, Boolean) |
GetAll
(Inherited from PersonRepository) | |
| GetAll(Guid, String, Boolean) |
GetAll
(Inherited from PersonRepository) | |
| GetPhoto |
Gets photo.
(Inherited from PersonRepository) | |
| GetPhotoInfo |
Gets photo information.
(Inherited from PersonRepository) | |
| GetPhotoThumbnail |
Gets the photo thumbnail.
(Inherited from PersonRepository) | |
| GetPhotoThumbnailInfo |
Gets photo thumbnail information.
(Inherited from PersonRepository) | |
| Import |
Imports the list of persons.
If a person already exists, they will be updated and if they do not exist, they will be created.
(Inherited from PersonRepository) | |
| Restore | Restores existing person by restore mode. (Inherited from PersonRepository) | |
| Search |
Search persons ids.
(Inherited from PersonRepository) | |
| Update | Update existing person. (Inherited from PersonRepository) | |
| UpdatePhoto |
Updates photo.
(Inherited from PersonRepository) |
Extension Methods
| Name | Description | |
|---|---|---|
| ToInvariantString |
To the invariant string.
(Defined by Extensions) |
See Also