Class tfb3connection
Unit
Declaration
type tfb3connection = class(tcustomsqlconnection, iblobconnection, idbevent, idbeventcontroller)
Description
Hierarchy
- tcustomsqlconnection
- tfb3connection
Overview
Fields
fapi: fbapity; |
|
fattachment: iattachment; |
|
feventcallback: tfbeventcallback; |
|
feventcontroller: tdbeventcontroller; |
|
feventitems: array of fbeventinfoty; |
|
fevents: ievents; |
|
flistencount: int32; |
|
feventcount: int32; |
|
feventlength: int32; |
|
feventbuffer: pbyte; |
|
feventcountbuffer: array of ULONG; |
Methods
function getpb(const akind: paramblockkindty): ixpbbuilder; |
|
function buildpb(const akind: paramblockkindty; const ainfo: pparaminfoty; const acount: int32; const aparams: tstringlist; const force: boolean): ixpbbuilder; |
|
procedure clearstatus(); inline; |
|
function statusok(): boolean; inline; |
|
procedure checkstatus(const aerrormessage: msestring); |
|
procedure dointernalconnectoverride; |
|
procedure dointernaldisconnectoverride; |
|
function allocatetransactionhandle: tsqlhandle override; |
|
function gettransactionhandle(trans : tsqlhandle): pointer override; |
|
function startdbtransaction(const trans : tsqlhandle; const aparams : tstringlist) : boolean override; |
|
function commit(trans : tsqlhandle) : boolean override; |
|
function rollback(trans : tsqlhandle) : boolean override; |
|
procedure internalcommitretaining(trans : tsqlhandle) override; |
|
procedure internalrollbackretaining(trans : tsqlhandle) override; |
|
procedure cursorclose(const cursor: tfbcursor); |
|
procedure updateresultmetadata(const acursor: tfbcursor; const outmetadata: pimessagemetadata); |
|
procedure internalexecute(const cursor: tsqlcursor; const atransaction: tsqltransaction; const aparams : tmseparams; const autf8: boolean) override; |
|
procedure updateindexdefs(var indexdefs : tindexdefs; const atablename : string; const acursor: tsqlcursor) override; |
|
function getschemainfosql(schematype : tschematype; schemaobjectname, schemapattern : msestring) : msestring override; |
|
function createblobstream(const field: tfield; const mode: tblobstreammode; const acursor: tsqlcursor): tstream; override; |
|
function getblobdatasize: integer; override; |
|
procedure updateevents(const aerrormessage: msestring); |
|
procedure clearevents(); |
|
procedure loaded() override; |
|
function readsequence(const sequencename: string): msestring override; |
|
function sequencecurrvalue(const sequencename: string): msestring override; |
|
function writesequence(const sequencename: string; const avalue: largeint): msestring override; |
|
procedure writeblobdata(const atransaction: tsqltransaction; const tablename: string; const acursor: tsqlcursor; const adata: pointer; const alength: integer; const afield: tfield; const aparam: tparam; out newid: string); overload; |
|
procedure setupblobdata(const afield: tfield; const acursor: tsqlcursor; const aparam: tparam); |
|
procedure listen(const sender: tdbevent); |
|
procedure unlisten(const sender: tdbevent); |
|
procedure fire(const sender: tdbevent); |
|
function getdbevent(var aname: string; var aid: int64): boolean; |
|
procedure dolisten(const sender: tdbevent); |
|
procedure dounlisten(const sender: tdbevent); |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy(); override; |
|
procedure createdatabase(const asql: ansistring); |
|
function allocatecursorhandle(const aowner: icursorclient; const aname: ansistring): tsqlcursor override; |
|
procedure deallocatecursorhandle(var cursor : tsqlcursor) override; |
|
procedure freefldbuffers(cursor : tsqlcursor); override; |
|
procedure preparestatement(const cursor: tsqlcursor; const atransaction : tsqltransaction; const asql: msestring; const aparams : tmseparams) override; |
|
procedure unpreparestatement(cursor : tsqlcursor) override; |
|
procedure addfielddefs(const cursor: tsqlcursor; const fielddefs : tfielddefs) override; |
|
function fetch(cursor : tsqlcursor) : boolean; override; |
|
function loadfield(const cursor: tsqlcursor; const datatype: tfieldtype; const fieldnum: integer; const buffer: pointer; var bufsize: integer; const aisutf8: boolean): boolean; override; |
|
function fetchblob(const cursor: tsqlcursor; const fieldnum: integer): ansistring; override; |
|
function version: msestring; |
Properties
property lasterrormessage: msestring read flasterrormessage; |
|
property lastsqlcode: int32 read flastsqlcode; |
|
property dialect: integer read fdialect write fdialect
default sql_dialect_v6; |
|
property options: fbconnectionoptionsty read foptions
write foptions default []; |
|
property Transaction; |
|
property transactionwrite; |
|
property CharSet; |
|
property HostName; |
|
property controller; |
|
property DatabaseName: filenamety read getdatabasename write setdatabasename; |
|
property Connected: boolean read getconnected write setconnected default false; |
|
property Password; |
|
property UserName; |
|
property Role; |
|
property ongetcredentials; |
|
property afterconnect; |
|
property beforedisconnect; |
Description
Fields
fapi: fbapity; |
|
fattachment: iattachment; |
|
feventcallback: tfbeventcallback; |
|
feventcontroller: tdbeventcontroller; |
|
feventitems: array of fbeventinfoty; |
|
fevents: ievents; |
|
flistencount: int32; |
|
feventcount: int32; |
|
feventlength: int32; |
|
feventbuffer: pbyte; |
|
feventcountbuffer: array of ULONG; |
|
Methods
function getpb(const akind: paramblockkindty): ixpbbuilder; |
|
function buildpb(const akind: paramblockkindty; const ainfo: pparaminfoty; const acount: int32; const aparams: tstringlist; const force: boolean): ixpbbuilder; |
|
procedure clearstatus(); inline; |
|
function statusok(): boolean; inline; |
|
procedure checkstatus(const aerrormessage: msestring); |
|
procedure dointernalconnectoverride; |
|
procedure dointernaldisconnectoverride; |
|
function allocatetransactionhandle: tsqlhandle override; |
|
function gettransactionhandle(trans : tsqlhandle): pointer override; |
|
function startdbtransaction(const trans : tsqlhandle; const aparams : tstringlist) : boolean override; |
|
function commit(trans : tsqlhandle) : boolean override; |
|
function rollback(trans : tsqlhandle) : boolean override; |
|
procedure internalcommitretaining(trans : tsqlhandle) override; |
|
procedure internalrollbackretaining(trans : tsqlhandle) override; |
|
procedure cursorclose(const cursor: tfbcursor); |
|
procedure updateresultmetadata(const acursor: tfbcursor; const outmetadata: pimessagemetadata); |
|
procedure internalexecute(const cursor: tsqlcursor; const atransaction: tsqltransaction; const aparams : tmseparams; const autf8: boolean) override; |
|
procedure updateindexdefs(var indexdefs : tindexdefs; const atablename : string; const acursor: tsqlcursor) override; |
|
function getschemainfosql(schematype : tschematype; schemaobjectname, schemapattern : msestring) : msestring override; |
|
function createblobstream(const field: tfield; const mode: tblobstreammode; const acursor: tsqlcursor): tstream; override; |
|
function getblobdatasize: integer; override; |
|
procedure updateevents(const aerrormessage: msestring); |
|
procedure clearevents(); |
|
procedure loaded() override; |
|
function readsequence(const sequencename: string): msestring override; |
|
function sequencecurrvalue(const sequencename: string): msestring override; |
|
function writesequence(const sequencename: string; const avalue: largeint): msestring override; |
|
procedure setupblobdata(const afield: tfield; const acursor: tsqlcursor; const aparam: tparam); |
|
procedure listen(const sender: tdbevent); |
|
procedure unlisten(const sender: tdbevent); |
|
procedure fire(const sender: tdbevent); |
|
function getdbevent(var aname: string; var aid: int64): boolean; |
|
procedure dolisten(const sender: tdbevent); |
|
procedure dounlisten(const sender: tdbevent); |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy(); override; |
|
procedure createdatabase(const asql: ansistring); |
|
function allocatecursorhandle(const aowner: icursorclient; const aname: ansistring): tsqlcursor override; |
|
procedure deallocatecursorhandle(var cursor : tsqlcursor) override; |
|
procedure freefldbuffers(cursor : tsqlcursor); override; |
|
procedure preparestatement(const cursor: tsqlcursor; const atransaction : tsqltransaction; const asql: msestring; const aparams : tmseparams) override; |
|
procedure unpreparestatement(cursor : tsqlcursor) override; |
|
procedure addfielddefs(const cursor: tsqlcursor; const fielddefs : tfielddefs) override; |
|
function fetch(cursor : tsqlcursor) : boolean; override; |
|
function loadfield(const cursor: tsqlcursor; const datatype: tfieldtype; const fieldnum: integer; const buffer: pointer; var bufsize: integer; const aisutf8: boolean): boolean; override; |
|
function fetchblob(const cursor: tsqlcursor; const fieldnum: integer): ansistring; override; |
|
function version: msestring; |
|
Properties
property lasterrormessage: msestring read flasterrormessage; |
|
property lastsqlcode: int32 read flastsqlcode; |
|
property dialect: integer read fdialect write fdialect
default sql_dialect_v6; |
|
property options: fbconnectionoptionsty read foptions
write foptions default []; |
|
property Transaction; |
|
property transactionwrite; |
|
property CharSet; |
|
property HostName; |
|
property controller; |
|
property DatabaseName: filenamety read getdatabasename write setdatabasename; |
|
property Connected: boolean read getconnected write setconnected default false; |
|
property Password; |
|
property UserName; |
|
property Role; |
|
property ongetcredentials; |
|
property afterconnect; |
|
property beforedisconnect; |
|
Generated by PasDoc 0.16.0.