Skip to content

Question : How to orderby an attribute of a List #143

@mhosman

Description

@mhosman

I have for example a class User with a list of UserTypes. In the class userType I have an attribute type:string. Now I want to order all Users by UserTypes.Type asc. How can I do this writing a query in string using System.Linq.Dynamic.Core? I'm able to search results using Any but I cant order results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions