Пример #1
0
 public GridFSOperation(MongoDBService mongoDBService)
 {
     this.mongoDBService = mongoDBService;
     this.mongoDBService.BucksOptions = new GridFSBucketOptions
     {
         BucketName     = "firstbucket",
         ChunkSizeBytes = 102400,
     };
 }
Пример #2
0
 public SimpleOperation(MongoDBService mongoDBService, string collectionName)
 {
     this.mongoDBService = mongoDBService;
     this.collectionName = collectionName;
 }