#1 2013-05-15 11:59:07

O.Schwab
Member
From: Montpellier, FRANCE
Registered: 2013-03-29
Posts: 12

Advantage Database Server : Adding new database backend to mORMot ?

Hello,


For personal and professional purpose , I would like to create a layer for handling Advantage Database Server in mORMot.

I know I must use SynDBNexusDB.pas as a start point for it, but, as Advantage Database Server already offers a set of Delphi classes (TAdsConnection, TADsQuery ...) to use the database, I wonder if just creating wrappers between ADS objects and mORMot objects (example : TAdsDataset -> ESQLDBDataset ) is the proper and better way to do it.

Any suggestions ?

Offline

#2 2013-05-15 12:31:34

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Advantage Database Server : Adding new database backend to mORMot ?

I do not know ADS internals, since I never used it.

I suspect TADsQuery comes from DB.pas kernel.

So you can indeed certainly use SynDBDataset.pas as root, just like SynDBNexusDB.

It should be pretty easy to do.

You are free to contribute!

Offline

Board footer

Powered by FluxBB