Class tsqlresult

Unit

Declaration

type tsqlresult = class(tcursorsqlstatement, isqlpropertyeditor, isqlclient, itransactionclient)

Description

Hierarchy

Overview

Methods

Protected procedure dosqlchange(const sender : tobject); override;
Protected function getactive: boolean; override;
Protected procedure setactive(avalue: boolean); override;
Protected procedure loaded; override;
Protected procedure freefldbuffers;
Protected procedure doclear(const isclose: boolean);
Protected procedure checkautocommit; override;
Protected procedure settransaction(const avalue: tmdbtransaction);
Protected procedure settransactionwrite(const avalue: tmdbtransaction);
Protected procedure savepointevent(const sender: tmdbtransaction; const akind: savepointeventkindty; const alevel: integer);
Protected procedure setdatabase(const avalue: tmdatabase);
Protected function getname: ansistring;
Protected function gettransaction: tmdbtransaction;
Protected function getrecno: integer;
Protected procedure setrecno(value: integer);
Protected procedure disablecontrols;
Protected procedure enablecontrols;
Protected function moveby(distance: longint): longint;
Protected function getsqltransactionwrite: tsqltransaction;
Protected procedure setsqltransactionwrite(const avalue: tsqltransaction);
Protected procedure checkbrowsemode;
Protected procedure refreshtransaction;
Protected procedure internalloaddatalists(const acols: integerarty; const datalists: array of tdatalist);
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure prepare; override;
Public procedure unprepare; override;
Public procedure open(const aparams: array of variant);
Public procedure open();
Public procedure close;
Public procedure clear;
Public procedure refresh(const aparams: array of variant);
Public procedure refresh;
Public procedure next;
Public function countrest(): int32;
Public function rowsaffected: integer;
Public function rowsreturned: integer;
Public function asvariant(const aclose: boolean = false): variant;
Public function asvariantar(const aclose: boolean = false): variantarty;
Public function asvariantarar(const aclose: boolean = false): variantararty;
Public procedure loaddatalists(const datalists: array of tdatalist);

Properties

Public property datacols: tdbcols read fdatacols;
Public property cols[constindex:int32]: tdbcol read getcols write setcols;
Public property bof: boolean read fbof;
Public property eof: boolean read feof;
Published property beforeopen: tmsesqlscript read fbeforeopen write setbeforeopen;
Published property afteropen: tmsesqlscript read fafteropen write setafteropen;
Published property active: boolean read getactive write setactive default false;
Published property fielddefs: tsqlresultfielddefs read ffielddefs write setfielddefs;
Published property onbeforeopen: sqlresulteventty read fonbeforeopen write fonbeforeopen;
Published property onafteropen: sqlresulteventty read fonafteropen write fonafteropen;
Published property params;
Published property sql;
Published property database;
Published property transaction;
Published property options;
Published property statementtype default stselect;
Published property onbeforeexecute;
Published property onafterexecute;
Published property onerror;

Description

Methods

Protected procedure dosqlchange(const sender : tobject); override;
 
Protected function getactive: boolean; override;
 
Protected procedure setactive(avalue: boolean); override;
 
Protected procedure loaded; override;
 
Protected procedure freefldbuffers;
 
Protected procedure doclear(const isclose: boolean);
 
Protected procedure checkautocommit; override;
 
Protected procedure settransaction(const avalue: tmdbtransaction);
 
Protected procedure settransactionwrite(const avalue: tmdbtransaction);
 
Protected procedure savepointevent(const sender: tmdbtransaction; const akind: savepointeventkindty; const alevel: integer);
 
Protected procedure setdatabase(const avalue: tmdatabase);
 
Protected function getname: ansistring;
 
Protected function gettransaction: tmdbtransaction;
 
Protected function getrecno: integer;
 
Protected procedure setrecno(value: integer);
 
Protected procedure disablecontrols;
 
Protected procedure enablecontrols;
 
Protected function moveby(distance: longint): longint;
 
Protected function getsqltransactionwrite: tsqltransaction;
 
Protected procedure setsqltransactionwrite(const avalue: tsqltransaction);
 
Protected procedure checkbrowsemode;
 
Protected procedure refreshtransaction;
 
Protected procedure internalloaddatalists(const acols: integerarty; const datalists: array of tdatalist);
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public procedure prepare; override;
 
Public procedure unprepare; override;
 
Public procedure open(const aparams: array of variant);
 
Public procedure open();
 
Public procedure close;
 
Public procedure clear;
 
Public procedure refresh(const aparams: array of variant);
 
Public procedure refresh;
 
Public procedure next;
 
Public function countrest(): int32;
 
Public function rowsaffected: integer;
 
Public function rowsreturned: integer;
 
Public function asvariant(const aclose: boolean = false): variant;
 
Public function asvariantar(const aclose: boolean = false): variantarty;
 
Public function asvariantarar(const aclose: boolean = false): variantararty;
 
Public procedure loaddatalists(const datalists: array of tdatalist);
 

Properties

Public property datacols: tdbcols read fdatacols;
 
Public property cols[constindex:int32]: tdbcol read getcols write setcols;
 
Public property bof: boolean read fbof;
 
Public property eof: boolean read feof;
 
Published property beforeopen: tmsesqlscript read fbeforeopen write setbeforeopen;
 
Published property afteropen: tmsesqlscript read fafteropen write setafteropen;
 
Published property active: boolean read getactive write setactive default false;
 
Published property fielddefs: tsqlresultfielddefs read ffielddefs write setfielddefs;
 
Published property onbeforeopen: sqlresulteventty read fonbeforeopen write fonbeforeopen;
 
Published property onafteropen: sqlresulteventty read fonafteropen write fonafteropen;
 
Published property params;
 
Published property sql;
 
Published property database;
 
Published property transaction;
 
Published property options;
 
Published property statementtype default stselect;
 
Published property onbeforeexecute;
 
Published property onafterexecute;
 
Published property onerror;
 

Generated by PasDoc 0.16.0.