Hi all..
I'm doing data binding with entity framework. I have three master-detail-sub models: Customers, Orders, and OrdersDetails. This would be run fine and data binding doing great:
this.customerBindingSource.DataSource = context.Customers.ToList();
But sure that would return all columns. How can I return specified columns and still preserving the binding? Something like this would fail:
context.Customers.Select(c => new { Name = c.Name, Address = c.Address });
Thank you..