IGenericRepositoryT Interface

Relativity Services API
Interface for GenericRepository class.

Namespace:  kCura.Relativity.Client.Repositories
Assembly:  kCura.Relativity.Client (in kCura.Relativity.Client.dll) Version: 17.0.1.1 588f15fd7550dbf54835f3417a0142d4ea37dbb5
Syntax

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

Type Parameters

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

The IGenericRepositoryT type exposes the following members.

Methods

  NameDescription
Public methodCreate(ListT)
Creates the specified Artifacts.
Public methodCreate(T)
Creates the specified Artifacts.
Public methodCreateSingle
Creates a single Artifact of the supplied DTO type.
Public methodDelete(ListInt32)
Deletes the specified Artifacts.
Public methodDelete(ListT)
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(ListInt32)
Reads all fields from each of the specified Artifacts.
Public methodRead(ListT)
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(ListT)
Updates the specified Artifacts.
Public methodUpdate(T)
Updates the specified Artifacts.
Public methodUpdateSingle
Updates the specified Artifact.
Top
See Also

Reference