Details
-
Bug
-
Resolution: Done
-
Major - P3
-
0.7
-
None
-
None
-
windows 7, x64. vs2008sp1. .net 3.5
-
Major Change
Description
calling
var data = new[] {
new BsonDocument() { {_id:-1} }
};
BsonCollection col = ....
var safe = SafeMode.WaitForReplications(2, TimeSpan.FromSeconds(2));
col.InsertBatch(data, safe);
will throw:
MongoDB.Bson.BsonSerializationException : No idGenerator found for type: System.Int32
This used to work on version 0.5 with my own object CRUD test.