public MongoTransitionRepository(IDataTypeRegistry dataTypeRegistry, string connectionString)
        {
            _dataTypeRegistry = dataTypeRegistry;
            _serializer       = new MongoTransitionSerializer(dataTypeRegistry);
            _transitionServer = new MongoTransitionServer(connectionString);

            EnsureIndexes();
        }
 public MongoSnapshotRepository(string connectionString)
 {
     _transitionServer = new MongoTransitionServer(connectionString);
 }