IAddOrUpdateService interface

Provides methods for adding or updating documents.

public interface IAddOrUpdateService


Add or update document

Inserts or updated document with specified reference. If document reference is not selected, cloud storage will assigne new reference for created document.

Method will return AddDocumentResult with reference of created document.

AddDocumentResult AddOrUpdate<TDocument>(TDocument document);


Add or update document

Be aware that you can only create the document with a reference that does not already exist.
To make sure that document with specified reference is stored, user AddOrUpdate method:


results matching ""

    No results matching ""