Often times, I work with a stored procedure that takes a complex input and does some work with it. By complex, I usually mean at least one value passed in that contains a non-specific number of values ...
This test harness illustrates how EntityRef associations can replace the Order.CustomerID, Order.EmployeeID, and Order.ShipVia entity property (foreign key) values with Customer.CompanyName, ...