var collection = db.GetCollection<BsonDocument>("collection_name");
collection of BsonDocument, but tried to insert RawBsonDocument, which
compiled but didn't work
Am Dienstag, 3. Mai 2016 22:48:38 UTC+2 schrieb Craig Wilson:
It should be as simple as using
var collection = db.GetCollection<RawBsonDocument>("collection_name");
var doc = new RawBsonDocument(bytes);
Perhaps you could let us know what you tried and the error you received.
On Tuesday, May 3, 2016 at 3:36:43 PM UTC-5, Andreas Vilinski wrote:
i would like insert data structures already serialized to bson byte array
Can't figure out myself whether it is possible with current .NET driver.
There is RawBsonDocument class, however i was not able to make insert
Can you help?
You received this message because you are subscribed to the Google Groups "mongodb-user"