Пример #1
0
 public EventStoreAdmin(IConnectionFactory connectionFactory, StoreOptions options, IDocumentSchemaCreation creation, ISerializer serializer)
 {
     _connectionFactory = connectionFactory;
     _options           = options;
     _creation          = creation;
     _serializer        = serializer;
 }
Пример #2
0
 public EventStore(IManagedConnection connection, IDocumentSchema schema, ISerializer serializer, IDocumentSchemaCreation creation)
 {
     _connection = connection;
     _schema     = schema;
     _serializer = serializer;
     _creation   = creation;
 }
Пример #3
0
 public EventStore(ICommandRunner runner, IDocumentSchema schema, ISerializer serializer, IDocumentSchemaCreation creation)
 {
     _runner     = runner;
     _schema     = schema;
     _serializer = serializer;
     _creation   = creation;
 }
Пример #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();
        }
Пример #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();
        }
Пример #6
0
        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);
        }
Пример #7
0
 public SequenceFactory(IDocumentSchema schema, CommandRunner runner, IDocumentSchemaCreation creation)
 {
     _schema = schema;
     _runner = runner;
     _creation = creation;
 }
Пример #8
0
 public SequenceFactory(IDocumentSchema schema, IConnectionFactory factory, IDocumentSchemaCreation creation)
 {
     _schema   = schema;
     _factory  = factory;
     _creation = creation;
 }
Пример #9
0
 public DocumentSchema(IConnectionFactory connections, IDocumentSchemaCreation creation)
 {
     _creation = creation;
     _runner = new CommandRunner(connections);
 }
Пример #10
0
 public DocumentSchema(IConnectionFactory connections, IDocumentSchemaCreation creation)
 {
     _creation = creation;
     _runner   = new CommandRunner(connections);
 }
Пример #11
0
 public SequenceFactory(IDocumentSchema schema, ICommandRunner runner, IDocumentSchemaCreation creation)
 {
     _schema = schema;
     _runner = runner;
     _creation = creation;
 }
Пример #12
0
 public SequenceFactory(IDocumentSchema schema, IConnectionFactory factory, IDocumentSchemaCreation creation)
 {
     _schema = schema;
     _factory = factory;
     _creation = creation;
 }