Select with lambda parameter that is a base type of collection document type throws

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Blocker - P1
    • None
    • Affects Version/s: 2.21.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi,

       

      using expression variables like below doesn't work with Linq V3

             Expression<Func<ParentBaseClass, ParentBaseClass>> select = x =>
      new ParentBaseClass()

      {     Id = x.Id, }

      ;

      collection.AsQueryable().Select(select).ToList();

       

      Best regards

      Dimitri

            Assignee:
            Robert Stam (Inactive)
            Reporter:
            Dimitri Kroo
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: