Page 1 of 1

attach / cache / empty / detach

Posted: Wed 12 Apr 2017 13:31
by rbeeston
Hello,
The caching in entitydac is a nice idea but isn't working in practice. Two users effectively have completely different views on the data, neither seeing each others changes until you close and open application. How do i de-attach (detach) something from the cache? So prior to edit i can detach the selected item then reload from db to get latest (fresh) copy with anyones changes?
Thanks

Re: attach / cache / empty / detach

Posted: Thu 13 Apr 2017 09:24
by MaximG
You can disable caching in two ways. Either at the context level :

http://www.devart.com/entitydac/docs/?d ... .cache.htm

or for a separate meta-type

http://www.devart.com/entitydac/docs/?d ... aching.htm