GenericRepositoryT Class

Relativity Services API
GenericRepository provides CRUD and mass operation services for typed data transfer objects (DTOs).
Inheritance Hierarchy

SystemObject
  kCura.Relativity.Client.RepositoriesGenericRepositoryT
    More...

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

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

Type Parameters

T
The ArtifactType on which operations will be performed.

The GenericRepositoryT 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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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 additional search results after a call to Query.
Public methodRead(ListInt32)
Reads the specified Artifacts. For each Artifact, all fields will be returned.
Public methodRead(ListT)
Reads the specified Artifacts.
Public methodRead(Int32)
Reads the specified Artifacts. For each Artifact, all fields will be returned.
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate(ListT)
Updates the specified Artifacts.
Public methodUpdate(T)
Updates the specified Artifacts.
Public methodUpdateSingle
Updates the specified Artifact.
Top
Extension Methods

  NameDescription
Public Extension MethodCreateItemT
Creates the specified Artifact object and adds it to the current Repository.
(Defined by GenericRepositoryExtensions.)
Public Extension MethodDeleteItemT
Deletes the specified Artifact.
(Defined by GenericRepositoryExtensions.)
Public Extension MethodReadItemT
Reads the specified Artifact.
(Defined by GenericRepositoryExtensions.)
Public Extension MethodUpdateItemT
Updates the specified Artifact.
(Defined by GenericRepositoryExtensions.)
Top
See Also

Reference

Inheritance Hierarchy

SystemObject
  kCura.Relativity.Client.RepositoriesGenericRepositoryT
    kCura.Relativity.Client.RepositoriesBatchRepository
    kCura.Relativity.Client.RepositoriesBatchSetRepository
    kCura.Relativity.Client.RepositoriesChoiceRepository
    kCura.Relativity.Client.RepositoriesClientRepository
    kCura.Relativity.Client.RepositoriesDocumentRepository
    kCura.Relativity.Client.RepositoriesErrorRepository
    kCura.Relativity.Client.RepositoriesFieldRepository
    kCura.Relativity.Client.RepositoriesFolderRepository
    kCura.Relativity.Client.RepositoriesGroupRepository
    kCura.Relativity.Client.RepositoriesLayoutRepository
    kCura.Relativity.Client.RepositoriesMarkupSetRepository
    kCura.Relativity.Client.RepositoriesObjectTypeRepository
    kCura.Relativity.Client.RepositoriesRDORepository
    kCura.Relativity.Client.RepositoriesRelativityApplicationRepository
    kCura.Relativity.Client.RepositoriesRelativityScriptRepository
    kCura.Relativity.Client.RepositoriesTabRepository
    kCura.Relativity.Client.RepositoriesUserRepository
    kCura.Relativity.Client.RepositoriesViewRepository
    kCura.Relativity.Client.RepositoriesWorkspaceRepository