I am using LINQ-to-Entities and have loaded up a Northwind Database (with LazyLoading=true).
var db = new NorthwindEntities();
var result = db.Orders.Where(x => x.CustomerID == "ANATR").First();
DataGridView1.DataSource = result;
The above code doesn't show up any items (one in this particular case) in the DataGridView. What am I doing wrong?
(If I remove the 'First()' it works fine and gives me several items)