Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl-db]

TDatabase

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: db.pas line 2263

type TDatabase = class(TCustomConnection)

protected

  procedure CheckConnected;

  procedure CheckDisConnected;

  procedure DoConnect; override;

  procedure DoDisconnect; override;

  function GetConnected; override;

  function GetDataset(); override;

  function GetDataSetCount; override;

  procedure DoInternalConnect; virtual; abstract;

  procedure DoInternalDisConnect; virtual; abstract;

public

  constructor Create(); override;

  destructor Destroy; override;

  procedure CloseDataSets;

  procedure CloseTransactions;

  procedure StartTransaction; virtual; abstract;

  procedure EndTransaction; virtual; abstract;

  property TransactionCount: LongInt; [r]

  property Transactions []: TDBTransaction; [r]

  property Directory: string; [rw]

  property IsSQLBased: Boolean; [r]

published

  property Connected: Boolean; [rw]

  property DatabaseName: string; [rw]

  property KeepConnection: Boolean; [rw]

  property Params: TStrings; [rw]

end;

Inheritance

TDatabase

|

TCustomConnection

|

TObject


Documentation generated on: 2023-03-18