Table of Contents

Interface IDocumentRepositoryManager

Namespace
JobFlow.Core.Documents
Assembly
JobFlow.Core.dll

Manages document repositories.

public interface IDocumentRepositoryManager
Extension Methods

Remarks

A document repository is retrieved based on the general collection of documents being accessed (see SystemDocumentCollection for available collections).

FlowDefinitionSettings contains the mapping between the document collection type and the storage to be used, which allows different document collections to be stored in different repositories. For instance, the work item data could be stored in Azure Storage for long-term retrieval, while attachments could be stored in Redis for short-term storage.

Methods

For(SystemDocumentCollection, string)

IDocumentRepository For(SystemDocumentCollection collection, string documentType)

Parameters

collection SystemDocumentCollection
documentType string

Returns

IDocumentRepository