2012-01-25から1日間の記事一覧

MongoDB.Bson.BsonDocument のコレクション初期化子でハマった〜

CSharp Driver Tutorial の Create a new document and use C#'s collection initializer syntax (recommended) がパッと理解出来なかったので書いてみる。 引用 BsonDocument book = new BsonDocument { { "author", "Ernest Hemingway" }, { "title", "For…