FireDAC.Comp.Client.TFDCustomConnection.CliObj
Delphi
property CliObj: Pointer read GetCliObj;
C++
__property void * CliObj = {read=GetCliObj};
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
property | public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomConnection |
Beschreibung
Gibt ein CLI-Objekt zur Verbindungskapselung zurück.
Die Eigenschaft CliObj gibt ein DBMS-CLI-Objekt (Call Level Interface) zur Verbindungskapselung zurück. Die Klasse des Objekts hängt vom FireDAC-Treiber ab. Die folgende Tabelle enthält Treiber, Klassen zur Verbindungskapselung und Units. Das Kapselungsobjekt kann zum Durchführen von Low-Level-Operationen mit dem DBMS-CLI verwendet werden.
Treiber |
Kapselungsklasse und Unit |
---|---|
Advantage |
TFDSConnection, FireDAC.Phys.ADSWrapper.pas |
dbExpress (v <= 3) |
ISQLConnection |
InterBase, Firebird |
TIBDatabase, FireDAC.Phys.IBWrapper.pas |
MySQL |
TMySQLSession, FireDAC.Phys.MySQLWrapper.pas |
Microsoft SQL Server |
TODBCConnection, FireDAC.Phys.ODBCWrapper.pas |
Microsoft Access |
TODBCConnection, FireDAC.Phys.ODBCWrapper.pas |
IBM DB2 |
TODBCConnection, FireDAC.Phys.ODBCWrapper.pas |
Sybase SQL Anywhere |
TODBCConnection, FireDAC.Phys.ODBCWrapper.pas |
ODBC |
TODBCConnection, FireDAC.Phys.ODBCWrapper.pas |
Oracle |
TOCIService, FireDAC.Phys.OracleWrapper.pas |
PostgreSQL |
TPgConnection, FireDAC.Phys.PgWrapper.pas |
SQLite |
TSQLiteDatabase, FireDAC.Phys.SQLiteWrapper.pas |
TDBX (v >= 4) |
TDBXConnection, FireDAC.Phys.TDBX.pas |
DataSnap |
TDBXConnection, FireDAC.Phys.TDBX.pas |
Beispiel
uses
FireDAC.Phys.ODBCWrapper;
....
// returns the ODBC driver DLL name for an ODBC-based connection
ShowMessage(TODBCConnection(FDConnection1.CliObj).DRIVER_NAME);