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

Support linq projections to only pull back referenced fields.

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 1.4.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • # Replies:
      50
    • Last comment by Customer:
      true

      Description

      It should only pull back fields required for projection. In addition, it should support these forms
      1) simple projections: x.FirstName
      2) complex projections: x.FirstName + " " + x.LastName
      3) anonymous projections: new { Name = x.FirstName + " " + x.LastName
      4) class Projections: new PersonName(x.FirstName, x.LastName)

      { Age = x.BirthDate.ToAge() }

      );

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                53 Vote for this issue
                Watchers:
                40 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since reply:
                  2 years, 29 weeks, 2 days ago
                  Date of 1st Reply: