Created
April 2, 2015 16:05
-
-
Save danared/a75a6f4a898f3d853b55 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 database = client.GetDatabase("foo"); | |
var collection = database.GetCollection<BsonDocument>("bar"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment