Just before our upcoming release of Q1 2010 SP1 (early next week), I’ve decided to check how RadGridView for WPF will handle complex Entity Framework 4.0 query with almost 2 million records:
public class MyDataContext
{
IQueryable _Data;
public IQueryable Data
{
get
{
if (_Data == null)
{
var northwindEntities = new NorthwindEntities();
var queryable = from o in northwindEntities.Orders
from od in northwindEntities.Order_Details
select new
{
od.OrderID,
od.ProductID,
od.UnitPrice,
od.Quantity,
od.Discount,
o.CustomerID,
o.EmployeeID,
o.OrderDate
};
...