Hello,
I am migrating an existing application to EntityDAC. My application has a memory management approach where the caller is always responsible for destroying objects which it requests.
Is there a way to retrieve an entity and detach from data context so, i can keep my memory management intact?
Regards
Detach entity instance from data context
-
- Posts: 2
- Joined: Wed 26 Dec 2018 21:59
Re: Detach entity instance from data context
The specificities of memory management when working with EntityDAC are described in our documentation: https://www.devart.com/entitydac/docs/m ... gement.htm
To independently manage the destruction of the objects you use, try disabling entity caching: https://www.devart.com/entitydac/docs/d ... nabled.htm
To independently manage the destruction of the objects you use, try disabling entity caching: https://www.devart.com/entitydac/docs/d ... nabled.htm