Created
October 9, 2011 05:15
-
-
Save jasonmccay/1273337 to your computer and use it in GitHub Desktop.
Get the MongoHQ database with the connection string.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static MongoDatabase retreive_mongohq_db() | |
{ | |
return MongoServer.Create( | |
ConfigurationManager.ConnectionStrings["MongoHQ"].ConnectionString) | |
.GetDatabase("t2"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment