Page 1 of 1
EntityDAC and using second thread
Posted: Fri 16 May 2014 02:07
by inageib
Hi,
I did not use EntityDAC but I would like to know can EntityDAC help execute SQL query that affect UI on a secondary thread ? if so is there any demo on this ?
Thanks
Re: EntityDAC and using second thread
Posted: Fri 16 May 2014 08:39
by AlexP
Hello,
EntityDAC is an ORM for Delphi. If you need just to execute database requests in separate threads, you can use our
DAC products.
Re: EntityDAC and using second thread
Posted: Fri 16 May 2014 13:04
by inageib
Yes I know it is ORM but when you say to use DAC component you mean it has thread methods I can use or I can use TThread class with it ?
Re: EntityDAC and using second thread
Posted: Mon 19 May 2014 11:18
by AlexP
ODAC has a special property (NonBlocking) responsible for commands execution in a separate thread. In the other products, such behavior is implemented by the TThread class.
Re: EntityDAC and using second thread
Posted: Mon 19 May 2014 11:35
by inageib
Thanks, I am interested in IBDAC as I use it with firebird , any example or demo ?
Re: EntityDAC and using second thread
Posted: Tue 20 May 2014 09:42
by AlexP
You can find a sample of working with threads in IBDAC in the demo project ..\Devart\IBDAC for RAD Studio XE5\Demos\IbDacDemo\Threads\
Re: EntityDAC and using second thread
Posted: Tue 20 May 2014 19:04
by inageib
many thanks
Re: EntityDAC and using second thread
Posted: Thu 22 May 2014 11:04
by AlexP
You are welcome. Feel free to contact us if you have any further questions.