[CSHARP-108] BsonClassMap.Unmap Created: 20/Nov/10  Updated: 02/Apr/15  Resolved: 04/Dec/10

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 0.9
Fix Version/s: 0.9

Type: Improvement Priority: Major - P3
Reporter: Testo Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

It would be nice if we can support unmap to remove any mapping we don't want e.g.
cm =>
{
cm.AutoMap();
cm.UnmapProperty("FieldToIgnore");
}



 Comments   
Comment by Robert Stam [ 04/Dec/10 ]

Implemented UnmapField, UnmapMember and UnmapProperty.

There were existing partially implemented methods called IgnoreField, IgnoreMember and IgnoreProperty, but the new names suggested in this ticket are much better.

Generated at Wed Feb 07 21:35:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.