attach / cache / empty / detach

Discussion of open issues, suggestions and bugs regarding EntityDAC
Post Reply
rbeeston
Posts: 12
Joined: Wed 25 Jan 2017 14:44

attach / cache / empty / detach

Post by rbeeston » Wed 12 Apr 2017 13:31

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

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: attach / cache / empty / detach

Post by MaximG » Thu 13 Apr 2017 09:24

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

Post Reply