EntityDAC and using second thread

Discussion of open issues, suggestions and bugs regarding EntityDAC
Post Reply
inageib
Posts: 167
Joined: Wed 26 Aug 2009 14:11

EntityDAC and using second thread

Post by inageib » Fri 16 May 2014 02:07

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

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: EntityDAC and using second thread

Post by AlexP » Fri 16 May 2014 08:39

Hello,

EntityDAC is an ORM for Delphi. If you need just to execute database requests in separate threads, you can use our DAC products.

inageib
Posts: 167
Joined: Wed 26 Aug 2009 14:11

Re: EntityDAC and using second thread

Post by inageib » Fri 16 May 2014 13:04

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 ?

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: EntityDAC and using second thread

Post by AlexP » Mon 19 May 2014 11:18

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.

inageib
Posts: 167
Joined: Wed 26 Aug 2009 14:11

Re: EntityDAC and using second thread

Post by inageib » Mon 19 May 2014 11:35

Thanks, I am interested in IBDAC as I use it with firebird , any example or demo ?

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: EntityDAC and using second thread

Post by AlexP » Tue 20 May 2014 09:42

You can find a sample of working with threads in IBDAC in the demo project ..\Devart\IBDAC for RAD Studio XE5\Demos\IbDacDemo\Threads\

inageib
Posts: 167
Joined: Wed 26 Aug 2009 14:11

Re: EntityDAC and using second thread

Post by inageib » Tue 20 May 2014 19:04

many thanks

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: EntityDAC and using second thread

Post by AlexP » Thu 22 May 2014 11:04

You are welcome. Feel free to contact us if you have any further questions.

Post Reply