Class tcustomsqlstatement

Unit

Declaration

type tcustomsqlstatement = class(tmsecomponent, itransactionclient, idatabaseclient)

Description

This item has no description.

Hierarchy

Overview

Fields

Protected fsql: tsqlstringlist;
Protected fdatabase: tcustomsqlconnection;
Protected ftransaction: tsqltransaction;
Protected fparams: tmseparams;
Protected foptions: sqlstatementoptionsty;

Methods

Protected function getdatabase: tcustomconnection;
Protected procedure setactive(avalue: boolean); virtual;
Protected procedure execute; virtual; abstract;
Protected procedure dobeforeexecute(const adatabase: tcustomsqlconnection; const atransaction: tsqltransaction);
Protected procedure doafterexecute(const adatabase: tcustomsqlconnection; const atransaction: tsqltransaction);
Protected procedure doerror(const adatabase: tcustomsqlconnection; const atransaction: tsqltransaction; const e: exception; var handled: boolean);
Protected procedure dosqlchange(const sender: tobject); virtual;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public function isutf8: boolean;

Properties

Protected property onbeforeexecute: sqlstatementeventty read fonbeforeexecute write fonbeforeexecute;
Protected property onafterexecute: sqlstatementeventty read fonafterexecute write fonafterexecute;
Protected property onerror: sqlstatementerroreventty read fonerror write fonerror;
Public property params : tmseparams read fparams write setparams;
Public property sql: tsqlstringlist read fsql write setsql;
Public property database: tcustomsqlconnection read fdatabase write setdatabase1;
Public property transaction: tsqltransaction read ftransaction write settransaction1;
Public property options: sqlstatementoptionsty read foptions write setoptions default [] ;

Description

Fields

Protected fsql: tsqlstringlist;

This item has no description.

Protected fdatabase: tcustomsqlconnection;

This item has no description.

Protected ftransaction: tsqltransaction;

This item has no description.

Protected fparams: tmseparams;

This item has no description.

Protected foptions: sqlstatementoptionsty;

This item has no description.

Methods

Protected function getdatabase: tcustomconnection;

This item has no description.

Protected procedure setactive(avalue: boolean); virtual;

This item has no description.

Protected procedure execute; virtual; abstract;

This item has no description.

Protected procedure dobeforeexecute(const adatabase: tcustomsqlconnection; const atransaction: tsqltransaction);

This item has no description.

Protected procedure doafterexecute(const adatabase: tcustomsqlconnection; const atransaction: tsqltransaction);

This item has no description.

Protected procedure doerror(const adatabase: tcustomsqlconnection; const atransaction: tsqltransaction; const e: exception; var handled: boolean);

This item has no description.

Protected procedure dosqlchange(const sender: tobject); virtual;

This item has no description.

Public constructor create(aowner: tcomponent); override;

This item has no description.

Public destructor destroy; override;

This item has no description.

Public function isutf8: boolean;

This item has no description.

Properties

Protected property onbeforeexecute: sqlstatementeventty read fonbeforeexecute write fonbeforeexecute;

This item has no description.

Protected property onafterexecute: sqlstatementeventty read fonafterexecute write fonafterexecute;

This item has no description.

Protected property onerror: sqlstatementerroreventty read fonerror write fonerror;

This item has no description.

Public property params : tmseparams read fparams write setparams;

This item has no description.

Public property sql: tsqlstringlist read fsql write setsql;

This item has no description.

Public property database: tcustomsqlconnection read fdatabase write setdatabase1;

This item has no description.

Public property transaction: tsqltransaction read ftransaction write settransaction1;

This item has no description.

Public property options: sqlstatementoptionsty read foptions write setoptions default [] ;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.