Person |
Person Repository provides CRUD operations for persons
Inheritance Hierarchy
Namespace: Gamanet.C4.SDK
Assembly: Gamanet.C4.SimpleClient (in Gamanet.C4.SimpleClient.dll) Version: 2026.0.0.733
Syntax
C#
public class PersonRepository : ISimpleClientPersonRepositoryV1, IFilterable<SimplePersonV1, Guid>, IEntitySourceRepository<SimplePersonV1>
The PersonRepository type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Archive | Archive existing person. All child persons in tree are archived too. | |
| Create | Create new person. | |
| CreatePhoto | Creates photo. | |
| Delete | Delete existing person. All child persons in tree are deleted too. | |
| DeletePhoto | Deletes photo. | |
| Filter(Guid, IDictionary<String, Object>) | Filter all persons. | |
| Filter(Guid, IDictionary<String, Object>, Int32, Guid) | Filter all persons. | |
| Get(Guid, Properties) | Get person by identifier with specified properties. | |
| Get(Guid, String) | Get person by identifier with specified index properties. | |
| GetAll() | Gets all persons with none data under Person root, included Person root (Groups and Roles are excluded). | |
| GetAll(Guid, Properties) | Get all persons under specified root with specified properties. | |
| GetAll(Guid, String) | Get all persons under specified root with specified prefix properties. | |
| GetAll(Guid, Properties, Boolean) | GetAll | |
| GetAll(Guid, String, Boolean) | GetAll | |
| GetPhoto | Gets photo. | |
| GetPhotoInfo | Gets photo information. | |
| GetPhotoThumbnail | Gets the photo thumbnail. | |
| GetPhotoThumbnailInfo | Gets photo thumbnail information. | |
| 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. | |
| Restore | Restores existing person by restore mode. | |
| Search | Search persons ids. | |
| Update | Update existing person. | |
| UpdatePhoto | Updates photo. |
Extension Methods
| Name | Description | |
|---|---|---|
| ToInvariantString |
To the invariant string.
(Defined by Extensions) |
See Also