コード例 #1
0
        public MongoTransitionRepository(IDataTypeRegistry dataTypeRegistry, string connectionString)
        {
            _dataTypeRegistry = dataTypeRegistry;
            _serializer       = new MongoTransitionSerializer(dataTypeRegistry);
            _transitionServer = new MongoTransitionServer(connectionString);

            EnsureIndexes();
        }
コード例 #2
0
 public MongoSnapshotRepository(string connectionString)
 {
     _transitionServer = new MongoTransitionServer(connectionString);
 }