How to Refresh the contens in DataContext class in entity framework 7 RRS feed

  • General discussion

  • Hi,

    I am using entity framework 7 beta version. Making calls to Database context through webapi.

    if any data in the database is changed manually in Database, I have restart webapi to get that latest data.

    1. Whenever data in database is manually changed do we need to restart webapi to refresh the database context?

    2. Is there any way to refresh the content in entity framework 7. I saw we have entry(object).reload() methods in entity framework 6 but not in 7. Please suggest.



    Thursday, February 4, 2016 12:49 AM