Add object to context without savechanges (VB.Net & Entity Framwork) RRS feed

  • Question

  • Hi
    I have a win form (VB.Net) that include a DGV. this DGV populate by Entity Framework as good as passable. But when i try to add some new records to DGV from a Text Box, new records don't show in DGV until I save changes to database!?

    How can I add my required new records to context and see them immediately in DGV then save all of them to database?

    Any help will be greatly appreciated.

    Tuesday, June 4, 2013 5:39 PM