Class DocumentStoreExtensions
- Namespace
- IntentSharp.Documents
- Assembly
- IntentSharp.dll
Operations every IDocumentStore supports through its own members.
public static class DocumentStoreExtensions
- Inheritance
-
objectDocumentStoreExtensions
- Inherited Members
-
object.Equals(object)object.Equals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()object.ReferenceEquals(object, object)object.ToString()
Methods
- RevertAsync(IDocumentStore, DocumentId, CancellationToken)
Reverts a document to the version that was running before the current one: the version, other than the running one and not rejected, that became running most recently (the greatest LastActivatedAt). That is not always the previous sequence: after activating versions 1, 3 and then 2, a revert returns to 3. The revert is an activation, so it fires the document's change tokens like any edit. Returns the version now running.