Hello! I'm using the Entity Framework classes to make changes to my database like this:
testEntities.Products.AddObject(product);
I've got a ListBox bound to testEntities.Products and it shows them correctly, but when I add a new object and I save the changes (testEntities.SaveChanges()), the product appears into the database, but the ListBox isn't updated.
I really would like that those object collections from the EF would be "observable". Is there a simple way to achieve this?
Thanks a lot!
(I'm using VS.NET 2010)