Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
Description
I have like this:
BsonClassMap.RegisterClassMap<LoadPlan>(x => {
x.AutoMap();
var idMap = x.GetMemberMap(c => c.Id).SetElementName("Id");
x.SetIdMember(idMap);
}):
At the end of the closure x.IdMemberMap.ElementName is "_id". I expect it to be "Id".
Attachments
Issue Links
- is duplicated by
-
CSHARP-465 Can't Change Id Element Name To "Id"
-
- Closed
-