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)

2 results in tag: sorting

When DataGridView is attached to a binding source that is linked to an EF4 Entity, how do you sort it?

I have a ...DataGridView... that is linked to a ...BindingSource.......My ...BindingSource... is linked to an ...IQueryable... list of entities:... public void BindTo(IQueryable elements) { BindingSource source = new BindingSource(); ...
c# datagridview entity-framework sorting winforms
asked by Martin

Why EF can't sort items by the order of another collection and how to workaround?

I have been trying to sort a LINQ query using a list of strings. I am querying student terms and including TermCourses. The code throws the following error:...System.NotSupportedException: 'LINQ to Entities does not recognize the method 'Int32 IndexOf(Sys...
c# entity-framework-6 linq sorting
asked by Sulieman Mansouri

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!