-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
Based on Test Database (Northwind), Consider we are trying to query Order Details table to get related records to an specific customer:
Note: I declared one missed association field Order in Entity OrderDetails (that already exists in database) before writing this test
public void TestOrderDetailsByCustomer()
{
var q = from d in db.OrderDetails
where d.Order.Customer.CustomerID == "VINET"
select d;
OrderDetail[] so = q.ToArray();
...
}Excuting this query will fail with Exception:
The LINQ expression node of type 1017 is not supported
This is one of common circumstances in some kind of Apps (with one-to-one relation, used to expand fields into another table, etc) same as what already exits in Northwind Database.
Is there a mistake or bug?
Metadata
Metadata
Assignees
Labels
No labels