UniDAC - application with 2 databases
Posted: Mon 01 Apr 2013 11:51
Using: Delphi XE2 Enterprise, Unidac 4.6.12 Pro
I am developing an application with UniDAC that will support different databases (one at a time). My app will give the user the choice to use either SQLite or SQL Server as the engine.
So I would code all my queries in the application, and use TUniQuery to run those SQL queries.
Before I start coding the database support code, I would like to ask you whether you have any design guidelines / best practice about how to approach such situations?
What kind of roadblocks and problems can be expected with the above two databases, and what are the solutions?
This will be an useful post for future reference for other developers as well.
Thanks in advance.
Bests,
Steve Faleiro
I am developing an application with UniDAC that will support different databases (one at a time). My app will give the user the choice to use either SQLite or SQL Server as the engine.
So I would code all my queries in the application, and use TUniQuery to run those SQL queries.
Before I start coding the database support code, I would like to ask you whether you have any design guidelines / best practice about how to approach such situations?
What kind of roadblocks and problems can be expected with the above two databases, and what are the solutions?
This will be an useful post for future reference for other developers as well.
Thanks in advance.
Bests,
Steve Faleiro