O ORMBr é aberto a ter N drivers de conexão, isso só depende do engine funcionar no Delphi. Hoje temos os seguintes engines de conexão a banco de dados:
Exemplos :
// Units requeridas uses ormbr.factory.interfaces, ormbr.types.database; |
// Unit requerida ormbr.factor.firedac; // Conexão FireDAC. var oConnection: IDBConnection; begin oConnection := TFactoryFireDAC.Create(FDConnection1, dnSQLite); end; |
// Unit requerida ormbr.factor.dbexpress; // Conexão DBExpress. var oConnection: IDBConnection; begin oConnection := TFactoryDBExpress.Create(SQLConnection1, dnSQLite); end; |
// Unit requerida ormbr.factor.zeos; // Conexão ZeosLib. var oConnection: IDBConnection; begin oConnection := TFactoryZeos.Create(ZConnection1, dnSQLite); end; |
// Unit requerida ormbr.factory.absolutedb; // Conexão AbsoluteDB. var oConnection: IDBConnection; begin oConnection := TFactoryZeos.Create(ABSDatabase1, dnSQLite); end; |
// Unit requerida ormbr.factory.ado; // Conexão ADO. var oConnection: IDBConnection; begin oConnection := TFactoryADO.Create(ADODatabase1, dnSQLite); end; |
Created with the Personal Edition of HelpNDoc: Full-featured Help generator