Support joins in Linq

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.4.2
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I would like to have joins supported, to join multiple collections. For instance:

          var matches = (from driver in driverCollection.AsQueryable()
                         join car in carCollection.AsQueryable() on driver.CarId equals car.Id
                         where driver.Name == "Tim Kellogg"
                         select new { DriverName = driver.Name, CarNumber = car.Number }).ToArray();
      

      I would assume that the initial naive algorithm would be

      1. Get all drivers that match the WHERE clause
      2. Get all cars that satisfy the ON clause (and the WHERE, if it applies)
      3. Do the SELECT clause

            Assignee:
            Craig Wilson
            Reporter:
            Tim Kellogg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: