zzz projects Entity Framework 6 EF 6
Home EF Core Articles Knowledge Base Online Examples
  • Home
  • EF Core
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework 6 - Knowledge Base (KB)

5 results in tag: sql-order-by

Linq OrderBy breaks with navigation property being null

Working with four tables....Users -> has basic user info including a userid and a departmentid (int)... Groups -> basic group info including a groupid... GroupsMembers -> table that has the relationship between a group and it's members, many to many relat...
entity-framework linq-to-entities nullable sql-order-by
asked by Steph

Ordering Entity Framework items and child items for MVC view

How can I sort a query from a DbSet and include child items which should also be sorted....Example:...I have a model for scheduling orders....public class Order { public virtual int Id { get; set; } public virtual int? SchedulingOrder { get; set; } ...
asp.net asp.net-mvc entity-framework linq sql-order-by
asked by Benjamin

LINQ OrderBy not ordering .. changing nothing .. why?

Any idea why the LINQ OrderBy is not working in following code, (have no errors but method does not sort ...)...First my own type...public class IQLinksView { public int id { get; set; } public int catid { get; set; } public in...
entity-framework iqueryable linq sql-order-by
asked by user1415838

Entity Framework ORDER BY issue

I'm attempting to build my first MVC 4 application using the entity framework. All I'm looking for is to create a drop down list with the value and text of each option set to the same value. ...This works, right up until I throw in the ...GroupBy().......
c# entity-framework exception-handling linq sql-order-by
asked by Dakine83

How to use OrderBy in EntityFramework

I have a table named ...Person... with two columns: (PersonId - key, ...PersonName...)...I'm trying to retrieve all persons ordered by ...PersonName.......The following code does NOT order my result:...var persons = from p in MyContext.Persons.OrderBy(x=>...
c# entity-framework entity-framework-6 sql-order-by
asked by Nir

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Save your entities 20× faster with EF Extensions
SaveChanges vs BulkSaveChanges

EF Extensions
Try for free now
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!