Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 27 Apr 2024, 05:54

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 22 Aug 2014, 17:57 
Offline

Joined: 16 Jul 2014, 17:35
Posts: 25
I want to know what differences are there between the datadriver components of EhLib such as TSQLDataDriverEh and FireDAC.


Top
 Profile  
 
PostPosted: 26 Aug 2014, 16:36 
Offline

Joined: 08 May 2014, 18:06
Posts: 663
Hello

If to say about working with SQL

1.
EhLib have two main components to work with data
TMemTableEh - table in memory
TSQLDataDriverEh - to keep Select, Update, Delete, Insert, GetRec SQL's.
so EhLib completely devide objects to keep SQL data and table records

Roughly we can consider FireDAC also have two main components work with SQL based data
TFDQuery - table in memory and Select SQL.
TFDUpdateSQL - to keep Update, Delete, Insert, FetchRow, Lock SQL's.
so it combines Select SQL with memory table.
It also have TFDMemTable but I don't know how customize it to work with SQL database.

2.
EhLib don't have native driver to access DataBase's. It is a superstructure above existing engines.
FireDAC have native drivers.

_________________
Best regards
EhLib Support Team


Top
 Profile  
 
PostPosted: 29 Aug 2014, 08:19 
Offline

Joined: 16 Jul 2014, 17:35
Posts: 25
Hello, thanks for your answer,
Have you a complete demo application that it uses FireDAC and data driver components of EhLib?


Top
 Profile  
 
PostPosted: 01 Sep 2014, 20:13 
Offline
Администратор

Joined: 22 Dec 2011, 20:19
Posts: 335
Hello

Here is a Demo of using TDataSetDriverEh and TADOTable as Data Provider.
But you can use any other BiDirectional DataSet as Data Provider.

Bind chain of components is as follows:
TDBGridEh.DataSource -> TDataSource.DataSet -> TMemTableEh.DataDriver -> TDataSetDriverEh.ProviderDataSet -> TADOTable (Any BiDirectional DataSet)

Best regards
Admin


Attachments:
DataSetDriverEh.SimpleDemo.zip [2.18 KiB]
Downloaded 240 times

_________________
Best regards
Admin
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 44 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group