Created
April 2, 2015 16:07
-
-
Save danared/32797572cca3cc93f4dc to your computer and use it in GitHub Desktop.
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
var client = new MongoClient("mongodb://localhost"); | |
var server = client.GetServer(); | |
var database = server.GetDatabase("test"); // this database uses the legacy API |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment