Class tmdatabase

Unit

Declaration

type tmdatabase = class(TCustomConnection)

Description

No description available, ancestor TCustomConnection description follows

Hierarchy

Overview

Fields

Protected FDataBaseName: mseString;
Protected FConnected: Boolean;
Protected FOpenAfterRead: boolean;

Methods

Protected procedure setconnected(const avalue: boolean); override;
Protected Procedure CheckConnected;
Protected Procedure CheckDisConnected;
Protected procedure DoConnect; override;
Protected procedure DoDisconnect; override;
Protected procedure doafterinternalconnect; virtual;
Protected procedure executeparams; virtual;
Protected procedure dobeforeinternaldisconnect; virtual;
Protected function GetConnected: boolean; override;
Protected Procedure DoInternalConnect; Virtual; Abstract;
Protected Procedure DoInternalDisConnect; Virtual; Abstract;
Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public procedure CloseDataSets;
Public procedure CloseTransactions;
Public procedure StartTransaction; virtual; abstract;
Public procedure EndTransaction; virtual; abstract;

Properties

Public property TransactionCount: Longint read GetTransactionCount;
Public property Transactions[Index:Longint]: tmdbtransaction read GetTransaction;
Public property Directory: string read FDirectory write FDirectory;
Public property IsSQLBased: Boolean read FSQLBased;
Public property datasets: idatabaseclientarty read fdatasets;
Published property Connected: Boolean read FConnected write SetConnected default false;
Published property DatabaseName: msestring read FDatabaseName write FDatabaseName;
Published property KeepConnection: Boolean read FKeepConnection write FKeepConnection default false;
Published property Params : TStringlist read FParams Write setparams;
Published property onbeforeconnect: databaseeventty read fonbeforeconnect write fonbeforeconnect;
Published property onafterconnect: databaseeventty read fonafterconnect write fonafterconnect;
Published property onconnecterror: databaseerroreventty read fonconnecterror write fonconnecterror;
Published property onbeforedisconnect: databaseeventty read fonbeforedisconnect write fonbeforedisconnect;
Published property onafterdisconnect: databaseeventty read fonafterdisconnect write fonafterdisconnect;

Description

Fields

Protected FDataBaseName: mseString;
 
Protected FConnected: Boolean;
 
Protected FOpenAfterRead: boolean;
 

Methods

Protected procedure setconnected(const avalue: boolean); override;
 
Protected Procedure CheckConnected;
 
Protected Procedure CheckDisConnected;
 
Protected procedure DoConnect; override;
 
Protected procedure DoDisconnect; override;
 
Protected procedure doafterinternalconnect; virtual;
 
Protected procedure executeparams; virtual;
 
Protected procedure dobeforeinternaldisconnect; virtual;
 
Protected function GetConnected: boolean; override;
 
Protected Procedure DoInternalConnect; Virtual; Abstract;
 
Protected Procedure DoInternalDisConnect; Virtual; Abstract;
 
Public constructor Create(AOwner: TComponent); override;
 
Public destructor Destroy; override;
 
Public procedure CloseDataSets;
 
Public procedure CloseTransactions;
 
Public procedure StartTransaction; virtual; abstract;
 
Public procedure EndTransaction; virtual; abstract;
 

Properties

Public property TransactionCount: Longint read GetTransactionCount;
 
Public property Transactions[Index:Longint]: tmdbtransaction read GetTransaction;
 
Public property Directory: string read FDirectory write FDirectory;
 
Public property IsSQLBased: Boolean read FSQLBased;
 
Public property datasets: idatabaseclientarty read fdatasets;
 
Published property Connected: Boolean read FConnected write SetConnected default false;
 
Published property DatabaseName: msestring read FDatabaseName write FDatabaseName;
 
Published property KeepConnection: Boolean read FKeepConnection write FKeepConnection default false;
 
Published property Params : TStringlist read FParams Write setparams;
 
Published property onbeforeconnect: databaseeventty read fonbeforeconnect write fonbeforeconnect;
 
Published property onafterconnect: databaseeventty read fonafterconnect write fonafterconnect;
 
Published property onconnecterror: databaseerroreventty read fonconnecterror write fonconnecterror;
 
Published property onbeforedisconnect: databaseeventty read fonbeforedisconnect write fonbeforedisconnect;
 
Published property onafterdisconnect: databaseeventty read fonafterdisconnect write fonafterdisconnect;
 

Generated by PasDoc 0.16.0.