protected BaseData(string collectionName) { mongo = new MongoDBTool(); mongoDB = mongo.GetMongoDatabase(); collection = mongo.GetMongoCollection <T>(collectionName); }
protected BaseData() { mongo = new MongoDBTool(); mongoDB = mongo.GetMongoDatabase(); collection = mongo.GetMongoCollection <T>(); }