Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-431

Allow constant to appear on either side of comparison operator in LINQ queries

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • 1.4
    • 1.4.1
    • None
    • None

    Description

      Treat the following as equivalent:

      from c in collection.AsQueryable<C>() where c.X > 0 select c;
      from c in collection.AsQueryable<C>() where 0 < c.X select c;

      and similarly for other operators.

      Attachments

        Issue Links

          Activity

            People

              robert@mongodb.com Robert Stam
              robert@mongodb.com Robert Stam
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: