views:

34

answers:

0

hi there

Whats the ideal way to bind a EntitySet to a DataGrid?
I use VS2010 and the .NET 4.0 Framework.

The item in the class bound to the DataContext of my form does have the following property:

public EntitySet<MyObject> objectsToBind
{
  get { return context.MyObjects; }
  set { context.MyObjects= value; }
}

Any help or hints greatly appreciated!

I read about BindingList:

objectsToBind.GetList()  

.. but I can't convert that back