Table of Contents

Interface IDocumentRepository

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

Manages document repositories.

public interface IDocumentRepository
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. ContainerFor 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)

IDocumentRepositoryInstance For(SystemDocumentCollection collection, string documentType)

Parameters

collection SystemDocumentCollection
documentType string

Returns

IDocumentRepositoryInstance