Esempio n. 1
0
 /// <summary>
 /// constructor
 /// </summary>
 public MongoDBWrapper()
 {
     Server         = MongoDBConfig.GetServer().Trim();
     Port           = MongoDBConfig.GetPort().Trim();
     DBName         = MongoDBConfig.GetDB().Trim();
     CollectionName = MongoDBConfig.GetCollectionName().Trim();
     mongoDB        = MongoHelper.InitializeMongo();
 }