IDAIBConnectionProperties
Overview
The IDAIBConnectionProperties interface contains methods for setting and getting InterBase or Firebird connection parameters.
You can receive connection parameters after acquiring the connection.
procedure TMyService.DataAbstractServiceAfterAcquireConnection(
aSender: TObject; const aConnectionName: string;
const aAcquiredConnection: IDAConnection);
var aConnProperties:IDAIBConnectionProperties;
begin
if (Supports(aAcquiredConnection, IDAIBConnectionProperties, aConnProperties)) then
begin
//aConnProperties.SQLDialect;
//aConnProperties.Charset;
//........................
end;
end;
Location
- Unit: uDAIBInterfaces.pas
- Ancestry: IDAIBConnectionProperties
Charset
Sets or gets the client database charset.
property Charset: string read write
Commit safecall
Commits transaction
procedure Commit
CommitRetaining safecall
Calls CommitRetaining
procedure CommitRetaining
Role
Sets or gets the client database role.
property Role: string read write
Rollback safecall
Rollback the transaction
procedure Rollback
RollbackRetaining safecall
Performs rollback retaining the transaction
procedure RollbackRetaining
SQLDialect
Sets or gets the client database SQL dialect.
property SQLDialect: Integer read write
Charset
Sets or gets the client database charset.
property Charset: string read write
Role
Sets or gets the client database role.
property Role: string read write
SQLDialect
Sets or gets the client database SQL dialect.
property SQLDialect: Integer read write
Commit safecall
Commits transaction
procedure Commit
CommitRetaining safecall
Calls CommitRetaining
procedure CommitRetaining
Rollback safecall
Rollback the transaction
procedure Rollback
RollbackRetaining safecall
Performs rollback retaining the transaction
procedure RollbackRetaining
- InterBase
- Firebird