In LINQ, the ________ method is used to sort data in ascending order.
- Join
- OrderBy
- Select
- Where
The OrderBy method in LINQ is used to sort data in ascending order based on one or more criteria. It arranges the elements of a sequence in ascending order.
Loading...
Related Quiz
- To define a composite primary key using Fluent API, the ________ method is combined with the ________ method.
- In Entity Framework, ________ is used to map different entities to the same table for the purpose of Table Splitting.
- For advanced mapping scenarios, the ________ method can be used to configure aspects of complex types.
- LINQ to Entities queries are converted to ________ at runtime.
- For client-side validation in Entity Framework, ________ can be used to generate validation scripts based on model annotations.