This should work for you:
var movies = _db.Movies.OrderBy(c => c.Category).ThenBy(n => n.Name)
Related Contents:
- How can I do an OrderBy with a dynamic string parameter?
- LINQ Orderby Descending Query
- How to take the first N items from a generator or list? [duplicate]
- OrderBy descending in Lambda expression?
- LINQ Group By into a Dictionary Object
- LINQ-to-SQL vs stored procedures? [closed]
- Learning about LINQ [closed]
- Is it possible to Pivot data using LINQ?
- Linq with group by having count
- The specified type member ‘Date’ is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties
- What’s the difference between IQueryable and IEnumerable [duplicate]
- LINQ OrderBy versus ThenBy
- NHibernate vs LINQ to SQL
- Linq to SQL how to do “where [column] in (list of values)”
- LINQ to Entities does not recognize the method ‘System.String Format(System.String, System.Object, System.Object)’
- Paging a collection with LINQ
- Linq order by, group by and order by each group?
- Multiple WHERE clause in Linq
- Entity Framework – “Unable to create a constant value of type ‘Closure type’…” error
- Using LINQ to Update A Property in a List of Entities
- Fetch vs FetchMany in NHibernate Linq provider
- How to view LINQ Generated SQL statements?
- OData “where ID in list” query
- Unit testing with Entity Framework
- Can LINQ be used in PowerShell?
- How to use union all in LINQ?
- How can I use Linq in a T4 template?
- What Sorting Algorithm Is Used By LINQ “OrderBy”?
- How LINQ works internally?
- Executing a certain action for all elements in an Enumerable
- What is difference between .edmx and .dbml file in linq?
- LINQ with SQLite (linqtosql)
- Is LINQ to SQL deprecated?
- How are people unit testing code that uses Linq to SQL [closed]
- PowerShell equivalent of LINQ Any()?
- Moqing Entity Framework 6 .Include() using DbSet
- Entity Framework, Code First and Full Text Search
- What are the benefits of a Deferred Execution in LINQ?
- LINQ syntax where string value is not null or empty
- LINQ: Group by month and year within a datetime field
- LINQ analogues in Scala?
- FirstOrDefault() result of a struct collection?
- LINQ Include vs Join. Are they equivalent?
- What is the purpose of LINQ’s Expression.Quote method?
- How can I reject all changes in a Linq to SQL’s DataContext?
- How to use LINQ in Mono?
- LINQ Partition List into Lists of 8 members [duplicate]
- Linq for NHibernate and fetch mode of eager loading
- Use own IComparer with Linq OrderBy
- Moq how to replace obsolete expression