コード例 #1
0
ファイル: MongoDbBucket.cs プロジェクト: davideicardi/NEStore
 public MongoDbBucket(MongoDbEventStore <T> eventStore, string bucketName)
 {
     _eventStore    = eventStore;
     Collection     = eventStore.CollectionFromBucket <CommitData <T> >(bucketName);
     InfoCollection = eventStore.CollectionFromBucket <CommitInfo>(bucketName);
     BucketName     = bucketName;
 }