How to refresh client catch data?

Topics: General
Nov 2, 2012 at 8:36 AM

I have an application use ef & repository & unity & if an other people update the database ,current people want to load current db data must restart application .Is there anyway to set dbcontext always refresh form db or any time update catch?

Dec 18, 2012 at 8:49 AM

Well, why? This should be rare - normally you should not have one dbcontext across tons of transactions. So, the problem does not appear. It seems you abuse the patterns.