EntityDAC and using second thread

EntityDAC and using second thread

Postby 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
inageib
 
Posts: 156
Joined: Wed 26 Aug 2009 14:11

Re: EntityDAC and using second thread

Postby 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.
AlexP
Devart Team
 
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: EntityDAC and using second thread

Postby 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 ?
inageib
 
Posts: 156
Joined: Wed 26 Aug 2009 14:11

Re: EntityDAC and using second thread

Postby 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.
AlexP
Devart Team
 
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: EntityDAC and using second thread

Postby inageib » Mon 19 May 2014 11:35

Thanks, I am interested in IBDAC as I use it with firebird , any example or demo ?
inageib
 
Posts: 156
Joined: Wed 26 Aug 2009 14:11

Re: EntityDAC and using second thread

Postby 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\
AlexP
Devart Team
 
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: EntityDAC and using second thread

Postby inageib » Tue 20 May 2014 19:04

many thanks
inageib
 
Posts: 156
Joined: Wed 26 Aug 2009 14:11

Re: EntityDAC and using second thread

Postby AlexP » Thu 22 May 2014 11:04

You are welcome. Feel free to contact us if you have any further questions.
AlexP
Devart Team
 
Posts: 5530
Joined: Tue 10 Aug 2010 11:35


Return to EntityDAC