Beispiel #1
0
 public EventStoreAdmin(IConnectionFactory connectionFactory, StoreOptions options, IDocumentSchemaCreation creation, ISerializer serializer)
 {
     _connectionFactory = connectionFactory;
     _options           = options;
     _creation          = creation;
     _serializer        = serializer;
 }
Beispiel #2
0
 public EventStore(IManagedConnection connection, IDocumentSchema schema, ISerializer serializer, IDocumentSchemaCreation creation)
 {
     _connection = connection;
     _schema     = schema;
     _serializer = serializer;
     _creation   = creation;
 }
Beispiel #3
0
 public EventStore(ICommandRunner runner, IDocumentSchema schema, ISerializer serializer, IDocumentSchemaCreation creation)
 {
     _runner     = runner;
     _schema     = schema;
     _serializer = serializer;
     _creation   = creation;
 }
Beispiel #4
0
        public DocumentSchema(StoreOptions options, ICommandRunner runner, IDocumentSchemaCreation creation)
        {
            _creation = creation;
            _runner   = runner;

            StoreOptions = options;

            Sequences = new SequenceFactory(this, _runner, _creation);

            Events = new EventGraph();
        }
Beispiel #5
0
        public DocumentSchema(StoreOptions options, IConnectionFactory factory, IDocumentSchemaCreation creation)
        {
            _factory  = factory;
            _creation = creation;

            StoreOptions = options;

            Sequences = new SequenceFactory(this, _factory, _creation);

            Events = new EventGraph();
        }
        public DocumentSchema(StoreOptions options, IConnectionFactory factory, IDocumentSchemaCreation creation)
        {
            _factory  = factory;
            _creation = creation;

            StoreOptions = options;

            options.AllDocumentMappings.Each(x => _mappings[x.DocumentType] = x);

            Sequences = new SequenceFactory(this, _factory, _creation);
        }
Beispiel #7
0
 public SequenceFactory(IDocumentSchema schema, CommandRunner runner, IDocumentSchemaCreation creation)
 {
     _schema = schema;
     _runner = runner;
     _creation = creation;
 }
 public SequenceFactory(IDocumentSchema schema, IConnectionFactory factory, IDocumentSchemaCreation creation)
 {
     _schema   = schema;
     _factory  = factory;
     _creation = creation;
 }
 public DocumentSchema(IConnectionFactory connections, IDocumentSchemaCreation creation)
 {
     _creation = creation;
     _runner = new CommandRunner(connections);
 }
Beispiel #10
0
 public DocumentSchema(IConnectionFactory connections, IDocumentSchemaCreation creation)
 {
     _creation = creation;
     _runner   = new CommandRunner(connections);
 }
Beispiel #11
0
 public SequenceFactory(IDocumentSchema schema, ICommandRunner runner, IDocumentSchemaCreation creation)
 {
     _schema = schema;
     _runner = runner;
     _creation = creation;
 }
Beispiel #12
0
 public SequenceFactory(IDocumentSchema schema, IConnectionFactory factory, IDocumentSchemaCreation creation)
 {
     _schema = schema;
     _factory = factory;
     _creation = creation;
 }