[CSHARP-172] Support storing ObjectId as String in memory so domain classes don't depend on driver Created: 23/Feb/11 Updated: 02/Apr/15 Resolved: 23/Feb/11 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 0.11 |
| Fix Version/s: | 1.0 |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Support the following: public class C { This means that the string Id will be represented as an ObjectId in the database but as a string in memory. The value of the string must be a valid string representation of an ObjectId or serialization will throw an exception. |
| Comments |
| Comment by Robert Stam [ 23/Feb/11 ] |
|
Done. |