IGenericRepository<T> Interface

Relativity Services API
Interface for GenericRepository class.

Namespace:  kCura.Relativity.Client.Repositories
Assembly:  kCura.Relativity.Client (in kCura.Relativity.Client.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax

public interface IGenericRepository<T>
where T : new(), Artifact

Type Parameters

T
The type of Artifact on which operations will be performed.

The IGenericRepository<T> type exposes the following members.

Methods

  NameDescription
Public methodCreate(List<T>)
Creates the specified Artifacts.
Public methodCreate(T[])
Creates the specified Artifacts.
Public methodCreateSingle
Creates a single Artifact of the supplied DTO type.
Public methodDelete(List<Int32>)
Deletes the specified Artifacts.
Public methodDelete(List<T>)
Deletes the specified Artifacts.
Public methodDelete(Int32[])
Deletes the specified Artifacts.
Public methodDelete(T[])
Deletes the specified Artifacts.
Public methodDeleteSingle(Guid)
Deletes the specified Artifact.
Public methodDeleteSingle(Int32)
Deletes the specified Artifact.
Public methodMassCreate
Creates RDO instances for each ArtifactRequest in artifacts based on the Field values provided by a 'template' ArtifactRequest.
Public methodMassEdit
Applies the Field values from the 'template' Artifact to each of the Artifacts identified by the array of ArtifactIDs.
Public methodQuery
Queries Relativity to find Artifacts matching the selection criteria.
Public methodQuerySubset
Fetches search results that were not returned in the first call to Query.
Public methodRead(List<Int32>)
Reads all fields from each of the specified Artifacts.
Public methodRead(List<T>)
Reads certain fields from the specified Artifacts.
Public methodRead(Int32[])
Reads all fields from each of the specified Artifacts.
Public methodRead(T[])
Reads the specified Artifacts.
Public methodReadSingle(Guid)
Returns the Artifact matching the specified artifact GUID.
Public methodReadSingle(Int32)
Returns the Artifact matching the specified artifact ID.
Public methodUpdate(List<T>)
Updates the specified Artifacts.
Public methodUpdate(T[])
Updates the specified Artifacts.
Public methodUpdateSingle
Updates the specified Artifact.
Top
See Also

Reference