How can I access all stored events in the EventStore to rebuild my read models?
A method called GetFrom
is mentioned at question J Oliver EventStore V2.0 questions, but I cannot find this method on the interface "IStoreEvents" which is returned from Wireup.
That method is a part of the
IPersistStreams
interface and not theIStoreEvents
interface. The API needs to be refined slightly to accommodate that. I have just added a method toIStoreEvents
calledGetFrom(DateTime started)
that returnsIEnumerable<Commit>
:https://github.com/joliver/EventStore/commit/1a039073df20fba11562c3c1a872180c225122c9