Example #1
0
 /// <summary>
 /// Constructs the storage to persist subscriptions in the given collection, in the database specified by the connection string.
 /// </summary>
 public MongoDbSubscriptionStorage(string connectionString, string collectionName)
 {
     this.collectionName = collectionName;
     database            = database = MongoHelper.GetDatabase(connectionString);
 }