Query.Or should return { } if any subquery is { }

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.8
    • Affects Version/s: 1.7
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      [Robert Stam edited the summary 2013-01-02]

      See attached test (TestMethod2)

      int count = (from e in collection.AsQueryable<Entity>()
      where true || e.Name == "Name_22"
      select e).Count();

      returns 1 record, 100 expected

              Assignee:
              Robert Stam
              Reporter:
              Joe Enzminger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: