-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 0.7
-
Component/s: None
-
None
-
Environment:windows 7, x64. vs2008sp1. .net 3.5
-
Major Change
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.