Beispiel #1
0
 public CafMongoDbContext(IMongoModelSource modelSource, MongoDBContextSource mongoDBContextSource, IMongodbClientFactory mongodbClientFactory)
 {
     _modelSource          = modelSource;
     _mongoDBContextSource = mongoDBContextSource;
     mongoDBContextOptions = _mongoDBContextSource.GetDbOption(this.GetType());
     _mongodbClientFactory = mongodbClientFactory;
 }
Beispiel #2
0
 public ContentLibraryDbContext(IMongoModelSource modelSource, MongoDBContextSource mongoDBContextSource, IMongodbClientFactory mongodbClientFactory) : base(modelSource, mongoDBContextSource, mongodbClientFactory)
 {
 }