-
Type:
New Feature
-
Resolution: Done
-
Priority:
Minor - P4
-
Affects Version/s: 1.0
-
Component/s: None
-
None
The C# driver can automatically generate Id values for the following class:
public class C
{ public ObjectId Id; public int X; }But if the data type of Id is BsonObjectId instead of ObjectId it can't. It should handle BsonObjectId in the same way as ObjectId.