[CSHARP-631] Update LINQ supported features documentation Created: 16/Nov/12  Updated: 22/Mar/13  Resolved: 22/Mar/13

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

Type: Improvement Priority: Minor - P4
Reporter: Tim Kellogg Assignee: Craig Wilson
Resolution: Done Votes: 0
Labels: documentation, linq
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates CSHARP-680 Update C# Documentation Closed
Related
related to CSHARP-433 Support OfType LINQ query operator Closed

 Description   

The documentation at http://www.mongodb.org/display/DOCS/CSharp+Driver+LINQ+Tutorial#CSharpDriverLINQTutorial-SupportedLINQqueryoperators doesn't seem to have been updated since 1.4. Here's some changes that I found in the release notes so far:

• .OfType<TModel>()
• .Any(x => x.Id == …) – included in above link, but also in 1.4.1 release notes
• DateTime comparisons
• scalar.In(arrayOrList) – Not a standard Linq extension method. You have to use a MongoDB namespace
• dictionary.ContainsKey(“key”)
• Nullable enums work
• Casting works

Here’s additional features that aren’t released yet but are in the works.
• .ToLowerInvariant() and .ToUpperInvariant() – 1.7 (completed already)
• “is” operator and typeof(TProperty) for properties – 1.7 (completed already)



 Comments   
Comment by Craig Wilson [ 22/Mar/13 ]

Docs have been updated.

Comment by Craig Wilson [ 16/Nov/12 ]

Yes. Docs are sorely out-of-date. 1.7 is going to require us to go over all the documentation for the new MongoClient root class, so this ticket is very timely. Thank you for alerting us to this fact.

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