SelectMany in PSQuery?

CapableObjects Forums SupportForum SelectMany in PSQuery?

This topic contains 1 reply, has 2 voices, and was last updated by  Admin 6 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5028 Score: 0

    krilbe
    Participant

    When trying to solve my problem (here), I also tried a solution where I root my query at the collection of M:s as follows:

    List<D> foundDs = EcoSpace.PSQuery<M>()
        .SelectMany(m => m.Details)
        .Where(d => d.Attr == SomeValue)
        .ToList();

    When the query executes (not when it’s built), I get an exception:

    Exception thrown: ‘Eco.FrameworkImpl.Ocl.EBoldOCLAbort’ in Eco.Handles.dll
    Additional information: 0:Undefined operation: SelectMany

    Isn’t SelectMany implemented in PSQuery, or what am I missing?

    #5047 Score: 0

    Admin
    Keymaster

    Sorry for the delay.
    SelectMany was not implemented – and that was an oversight.
    SelectMany is now implemented and treated as ->collect

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.