GenericRepository provides CRUD and mass operation services for typed data transfer objects (DTOs).
Inheritance Hierarchy
kCura.Relativity.Client.Repositories.GenericRepository<T>
More...
Namespace: kCura.Relativity.Client.Repositories
Assembly: kCura.Relativity.Client (in kCura.Relativity.Client.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax
Type Parameters
- T
- The ArtifactType on which operations will be performed.
The GenericRepository<T> type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Create(List<T>) |
Creates the specified Artifacts.
|
![]() | Create(T[]) |
Creates the specified Artifacts.
|
![]() | CreateSingle |
Creates a single Artifact of the supplied DTO type.
|
![]() | Delete(List<Int32>) |
Deletes the specified Artifacts.
|
![]() | Delete(List<T>) |
Deletes the specified Artifacts.
|
![]() | Delete(Int32[]) |
Deletes the specified Artifacts.
|
![]() | Delete(T[]) |
Deletes the specified Artifacts.
|
![]() | DeleteSingle(Guid) |
Deletes the specified Artifact.
|
![]() | DeleteSingle(Int32) |
Deletes the specified Artifact.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MassCreate |
Creates RDO instances for each ArtifactRequest in artifacts based on the Field values provided by a 'template' ArtifactRequest.
|
![]() | MassEdit |
Applies the Field values from the 'template' artifact to each of the Artifacts identified by the array of ArtifactIDs.
|
![]() | Query |
Queries Relativity to find Artifacts matching the selection criteria.
|
![]() | QuerySubset |
Fetches additional search results after a call to Query.
|
![]() | Read(List<Int32>) |
Reads the specified Artifacts. For each Artifact, all fields will be returned.
|
![]() | Read(List<T>) |
Reads the specified Artifacts.
|
![]() | Read(Int32[]) |
Reads the specified Artifacts. For each Artifact, all fields will be returned.
|
![]() | Read(T[]) |
Reads the specified Artifacts.
|
![]() | ReadSingle(Guid) |
Returns the Artifact matching the specified artifact GUID.
|
![]() | ReadSingle(Int32) |
Returns the Artifact matching the specified artifact ID.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Update(List<T>) |
Updates the specified Artifacts.
|
![]() | Update(T[]) |
Updates the specified Artifacts.
|
![]() | UpdateSingle |
Updates the specified Artifact.
|
Extension Methods
Name | Description | |
---|---|---|
![]() | CreateItem<T> |
Creates the specified Artifact object and adds it to the current Repository.
(Defined by GenericRepositoryExtensions.) |
![]() | DeleteItem<T> |
Deletes the specified Artifact.
(Defined by GenericRepositoryExtensions.) |
![]() | ReadItem<T> |
Reads the specified Artifact.
(Defined by GenericRepositoryExtensions.) |
![]() | UpdateItem<T> |
Updates the specified Artifact.
(Defined by GenericRepositoryExtensions.) |
See Also
Reference
Inheritance Hierarchy
kCura.Relativity.Client.Repositories.GenericRepository<T>
kCura.Relativity.Client.Repositories.BatchRepository
kCura.Relativity.Client.Repositories.BatchSetRepository
kCura.Relativity.Client.Repositories.ChoiceRepository
kCura.Relativity.Client.Repositories.ClientRepository
kCura.Relativity.Client.Repositories.DocumentRepository
kCura.Relativity.Client.Repositories.ErrorRepository
kCura.Relativity.Client.Repositories.FieldRepository
kCura.Relativity.Client.Repositories.FolderRepository
kCura.Relativity.Client.Repositories.GroupRepository
kCura.Relativity.Client.Repositories.LayoutRepository
kCura.Relativity.Client.Repositories.MarkupSetRepository
kCura.Relativity.Client.Repositories.ObjectTypeRepository
kCura.Relativity.Client.Repositories.RDORepository
kCura.Relativity.Client.Repositories.RelativityApplicationRepository
kCura.Relativity.Client.Repositories.RelativityScriptRepository
kCura.Relativity.Client.Repositories.TabRepository
kCura.Relativity.Client.Repositories.UserRepository
kCura.Relativity.Client.Repositories.ViewRepository
kCura.Relativity.Client.Repositories.WorkspaceRepository