<PackageReference Include="Relativity.API" Version="15.6.3" />

IHelper

public interface IHelper : IDisposable
Provides a mockable interface with helper methods to programmatically interact with Relativity from: Event Handlers, Custom Pages and Agents. You can use these methods to create proxys to interact with the Services API, obtain database contexts to query\run SQL against a database and obtain a URL helper to create links to pages within a Relativity Instance. To create reusable code within Relativity, it is suggested that you pass down the generic Helper interaces such as this one into your data access layer project.

Gets a database context for Workspace ArtifactID provided.

Guid GetGuid(int workspaceID, int artifactID)

Retrieves the GUID of a Relativity artifact based on the specified workspace ID and artifact ID (value is cached)

Gets a helper object for reading Instance Settings.

Gets a factory to return a logger that can be used to log application messages to a central system.

Retrieves the resource database name based on the machine configuration

Gets a helper object for interacting with the Relativity Secret Store.

Gets a Service Manager object that helps connect to RSAPI.

Gets an instance String Sanitizer

Gets a URL helper object that helps build urls to custom pages.

Retrieves the prepend for resource database transactions

string ResourceDBPrepend(IDBContext context)

Retrieves the prepend for resource database transactions