The DBContext with DBSet object:
public class TestContext : DbContext
{
public TestContext() : base("name=TestContext")
{
//http://stackoverflow.com/a/6143116/2404470
Database.SetInitializer<TestContext>(null);
}
public System.Data.Entity.DbSet<UI.Models.Test> Tests { get; set; }
}
Using entity framework, I can select all data from database table like this:
db.Tests.ToListAsync()
I need data sorted based on column A and B while preserving async-ness. How can I achieve that?