How to refresh an Entity Framework Core DBContext?

前端 未结 5 1575
隐瞒了意图╮
隐瞒了意图╮ 2020-12-10 01:58

When my table is updated by another party, the db context in dotnet core still return the old value, how can I force the Db context to refresh?

I\'ve done research b

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-10 02:40

    Ideally the other party would notify you when an update is made. This could be achieved via a message queue.

    Among others: Azure Service Bus, Rabbit MQ, 0MQ

提交回复
热议问题