[CSHARP-626] Add support for ToLowerInvariant and ToUpperInvariant string methods to linq expressions Created: 05/Nov/12 Updated: 11/Mar/19 Resolved: 09/Nov/12 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Andy Bennett | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | driver | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
This is a change that we have submitted a pull request for. We would like to have the ToLowerInvariant and ToUpperInvariant methods added to the string expressions that the linq that the MongoDB driver recognizes. We have an OData parser that creates expression trees that use "ToLowerInvariant" and "ToUpperInvariant" methods instead of "ToLower" and "ToUpper." Implementing these methods is a variable small change but makes the driver much more useful to us. |
| Comments |
| Comment by Craig Wilson [ 09/Nov/12 ] |
|
Oops... We'll use 629 for tracking purposes... |
| Comment by Craig Wilson [ 05/Nov/12 ] |
|
Just saw your pull request. As we are already performing invariant culture comparisons, I see no problems with this. https://github.com/mongodb/mongo-csharp-driver/pull/138 |