markrendle/Simple.Data — Issue #157: Eager fetching with child item in query requires correlation
Author: morganjohnston
Created: 2012-02-22 11:40:40+00:00
State: open

A query with eager fetching such as: db.Customer.FindAll(db.Customer.Order.Id == orderId).WithOrders().ToList();
causes the following error: "Simple.Data.Ado.AdoAdapterException : The objects "dbo.Order" and "dbo.Order" in the FROM clause have the same exposed names. Use correlation names to distinguish them."