Thanks Zoran,
I tried that code but got this error:
The non-generic method 'Telerik.OpenAccess.IObjectContext.GetObjectById(Telerik.OpenAccess.IObjectId)' cannot be used with type argument
I changed it to this and it worked:
(OrderDetail)scope.GetObjectById(new OrderDetail.ID() { orderID = 1, productID = 3 });
Why did your code not work? Is the way I've done it as efficient? Does this method avail of the caching?
Also, is the method you suggested better than the code I use to return an object with a single field primary key (which I detailed in the 1st post)?
Thanks!