Class tdscontroller
Unit
Declaration
type tdscontroller = class(tactivatorcontroller, idsfieldcontroller)
Description
No description available, ancestor tactivatorcontroller description follows
No description available, ancestor tlinkedpersistent description follows
No description available, ancestor tnullinterfacedpersistent description follows
No description available, ancestor tvirtualpersistent description follows
Hierarchy
- TObject
- tpersistent
- tvirtualpersistent
- tnullinterfacedpersistent
- tlinkedpersistent
- tactivatorcontroller
- tdscontroller
Overview
Fields
foptions: datasetoptionsty; |
Methods
procedure setoptions(const avalue: datasetoptionsty); virtual; |
|
procedure setowneractive(const avalue: boolean); override; |
|
procedure fielddestroyed(const sender: ifieldcomponent); |
|
procedure dorefresh(const sender: tobject); |
|
function savepointbegin: integer; virtual; |
|
procedure savepointrollback(const aindex: integer = -1); virtual; |
|
procedure savepointrelease; virtual; |
|
function execoperation(const akind: opkindty; const aafterop: afterdbopeventty): boolean; |
|
procedure defineproperties(filer: tfiler) override; |
|
constructor create(const aowner: tdataset; const aintf: idscontroller; const arecnooffset: integer = -1; const acancelresync: boolean = true); |
|
destructor destroy; override; |
|
function isutf8: boolean; |
|
function getfieldar(const afieldkinds: tfieldkinds = allfieldkinds): fieldarty; |
|
function filtereditkind: filtereditkindty; |
|
procedure beginupdate; |
|
procedure endupdate; |
|
function locate(const afields: array of tfield; const akeys: array of const; const aisnull: array of boolean; const akeyoptions: array of locatekeyoptionsty; const aoptions: locaterecordoptionsty = []): locateresultty; |
|
procedure appendrecord(const values: array of const); |
|
procedure appendrecord1(const values: array of const; const aisnull: array of boolean); |
|
procedure appendrecord(const values: array of const; const afields: array of tfield); |
|
procedure appendrecord1(const values: array of const; const aisnull: array of boolean; const afields: array of tfield); |
|
procedure appendrecord(const values: variantarty); |
|
procedure appenddata(const adata: variantararty; const afields: array of tfield); |
|
procedure getfieldclass(const fieldtype: tfieldtype; out result: tfieldclass); |
|
procedure beginfilteredit(const akind: filtereditkindty); |
|
procedure clearfilter(); |
|
procedure endfilteredit; |
|
procedure begindisplaydata; |
|
procedure enddisplaydata; |
|
function getcanmodify: boolean; |
|
function updatesortfield(const alink: tfielddatalink; const adescend: boolean): boolean; |
|
procedure modified; |
|
procedure dataevent(const event: tdataevent; info: ptrint); |
|
function findrecno(const arecno: integer; const options: recnosearchoptionsty = []): integer; |
|
function findrecnozerobased(const arecno: integer; const options: recnosearchoptionsty = []): integer; |
|
function moveby(const distance: integer): integer; |
|
function islastrecord: boolean; |
|
procedure internalinsert; |
|
procedure internaldelete; |
|
procedure internalopen; |
|
procedure internalclose; |
|
procedure closequery(var amodalresult: modalresultty); overload; |
|
function closequery: boolean; overload; |
|
function post(const aafterpost: afterdbopeventty = nil): boolean; |
|
function delete(const aafterdelete: afterdbopeventty = nil): boolean; |
|
function posting: boolean; |
|
function posting1: boolean; |
|
procedure postcancel; |
|
procedure cancel; |
|
function canceling: boolean; |
|
function refreshing(): boolean; |
|
function deleting(): boolean; |
|
function emptyinsert: boolean; |
|
procedure refresh(const restorerecno: boolean = false; const delayus: integer = -1); |
|
procedure checkrefresh; |
|
procedure copyrecord(const aappend: boolean = false); |
|
function copying(): boolean; |
|
function assql(const avalue: boolean): msestring; overload; |
|
function assql(const avalue: msestring): msestring; overload; |
|
function assql(const avalue: integer): msestring; overload; |
|
function assql(const avalue: int64): msestring; overload; |
|
function assql(const avalue: currency): msestring; overload; |
|
function assqlcurrency(const avalue: realty): msestring; overload; |
|
function assql(const avalue: realty): msestring; overload; |
|
function assql(const avalue: tdatetime): msestring; overload; |
|
function assqldate(const avalue: tdatetime): msestring; |
|
function assqltime(const avalue: tdatetime): msestring; |
Properties
property recno: integer read getrecno write setrecno; |
|
property recnozerobased: integer read getrecnozerobased
write setrecnozerobased; |
|
property recnooffset: integer read frecnooffset; |
|
property noedit: boolean read getnoedit write setnoedit; |
|
property noinsert: boolean read getnoinsert write setnoinsert; |
|
property noappend: boolean read getnoappend write setnoappend; |
|
property noupdate: boolean read getnoupdate write setnoupdate; |
|
property nodelete: boolean read getnodelete write setnodelete; |
|
property asmsestring[constafieldname:string]: msestring
read getasmsestring write setasmsestring; |
|
property fields: tpersistentfields read ffields write setfields; |
|
property options: datasetoptionsty read foptions write setoptions
default defaultdscontrolleroptions; |
|
property onstatechanged: datasetstatechangedeventty read fonstatechanged
write fonstatechanged; |
|
property onupdatemasteredit: masterdataseteventty read fonupdatemasteredit
write fonupdatemasteredit; |
|
property onupdatemasterinsert: masterdataseteventty
read fonupdatemasterinsert write fonupdatemasterinsert; |
|
property onbeforepost: tdatasetnotifyevent read fonbeforepost
write fonbeforepost; |
|
property onafterpost: afterdbopeventty read fonafterpost write fonafterpost; |
|
property onbeforedelete: tdatasetnotifyevent read fonbeforedelete
write fonbeforedelete; |
|
property onafterdelete: afterdbopeventty read fonafterdelete
write fonafterdelete; |
|
property onbeforecopyrecord: tdatasetnotifyevent read fonbeforecopyrecord
write fonbeforecopyrecord; |
|
property onaftercopyrecord: tdatasetnotifyevent read fonaftercopyrecord
write fonaftercopyrecord; |
Description
Fields
foptions: datasetoptionsty; |
|
Methods
procedure setoptions(const avalue: datasetoptionsty); virtual; |
|
procedure setowneractive(const avalue: boolean); override; |
|
procedure fielddestroyed(const sender: ifieldcomponent); |
|
procedure dorefresh(const sender: tobject); |
|
function savepointbegin: integer; virtual; |
|
procedure savepointrollback(const aindex: integer = -1); virtual; |
|
procedure savepointrelease; virtual; |
|
function execoperation(const akind: opkindty; const aafterop: afterdbopeventty): boolean; |
|
procedure defineproperties(filer: tfiler) override; |
|
constructor create(const aowner: tdataset; const aintf: idscontroller; const arecnooffset: integer = -1; const acancelresync: boolean = true); |
|
destructor destroy; override; |
|
function isutf8: boolean; |
|
function getfieldar(const afieldkinds: tfieldkinds = allfieldkinds): fieldarty; |
|
function filtereditkind: filtereditkindty; |
|
procedure beginupdate; |
|
procedure endupdate; |
|
function locate(const afields: array of tfield; const akeys: array of const; const aisnull: array of boolean; const akeyoptions: array of locatekeyoptionsty; const aoptions: locaterecordoptionsty = []): locateresultty; |
|
procedure appendrecord(const values: array of const); |
|
procedure appendrecord1(const values: array of const; const aisnull: array of boolean); |
|
procedure appendrecord(const values: array of const; const afields: array of tfield); |
|
procedure appendrecord1(const values: array of const; const aisnull: array of boolean; const afields: array of tfield); |
|
procedure appendrecord(const values: variantarty); |
|
procedure appenddata(const adata: variantararty; const afields: array of tfield); |
|
procedure getfieldclass(const fieldtype: tfieldtype; out result: tfieldclass); |
|
procedure beginfilteredit(const akind: filtereditkindty); |
|
procedure clearfilter(); |
|
procedure endfilteredit; |
|
procedure begindisplaydata; |
|
procedure enddisplaydata; |
|
function getcanmodify: boolean; |
|
function updatesortfield(const alink: tfielddatalink; const adescend: boolean): boolean; |
|
procedure modified; |
|
procedure dataevent(const event: tdataevent; info: ptrint); |
|
function findrecno(const arecno: integer; const options: recnosearchoptionsty = []): integer; |
|
function findrecnozerobased(const arecno: integer; const options: recnosearchoptionsty = []): integer; |
|
function moveby(const distance: integer): integer; |
|
function islastrecord: boolean; |
|
procedure internalinsert; |
|
procedure internaldelete; |
|
procedure internalopen; |
|
procedure internalclose; |
|
procedure closequery(var amodalresult: modalresultty); overload; |
|
function closequery: boolean; overload; |
|
function post(const aafterpost: afterdbopeventty = nil): boolean; |
|
function delete(const aafterdelete: afterdbopeventty = nil): boolean; |
|
function posting: boolean; |
|
function posting1: boolean; |
|
procedure postcancel; |
|
procedure cancel; |
|
function canceling: boolean; |
|
function refreshing(): boolean; |
|
function deleting(): boolean; |
|
function emptyinsert: boolean; |
|
procedure refresh(const restorerecno: boolean = false; const delayus: integer = -1); |
|
procedure checkrefresh; |
|
procedure copyrecord(const aappend: boolean = false); |
|
function copying(): boolean; |
|
function assql(const avalue: boolean): msestring; overload; |
|
function assql(const avalue: msestring): msestring; overload; |
|
function assql(const avalue: integer): msestring; overload; |
|
function assql(const avalue: int64): msestring; overload; |
|
function assql(const avalue: currency): msestring; overload; |
|
function assqlcurrency(const avalue: realty): msestring; overload; |
|
function assql(const avalue: realty): msestring; overload; |
|
function assql(const avalue: tdatetime): msestring; overload; |
|
function assqldate(const avalue: tdatetime): msestring; |
|
function assqltime(const avalue: tdatetime): msestring; |
|
Properties
property recno: integer read getrecno write setrecno; |
|
property recnozerobased: integer read getrecnozerobased
write setrecnozerobased; |
|
property recnooffset: integer read frecnooffset; |
|
property noedit: boolean read getnoedit write setnoedit; |
|
property noinsert: boolean read getnoinsert write setnoinsert; |
|
property noappend: boolean read getnoappend write setnoappend; |
|
property noupdate: boolean read getnoupdate write setnoupdate; |
|
property nodelete: boolean read getnodelete write setnodelete; |
|
property asmsestring[constafieldname:string]: msestring
read getasmsestring write setasmsestring; |
|
property fields: tpersistentfields read ffields write setfields; |
|
property options: datasetoptionsty read foptions write setoptions
default defaultdscontrolleroptions; |
|
property onstatechanged: datasetstatechangedeventty read fonstatechanged
write fonstatechanged; |
|
property onupdatemasteredit: masterdataseteventty read fonupdatemasteredit
write fonupdatemasteredit; |
|
property onupdatemasterinsert: masterdataseteventty
read fonupdatemasterinsert write fonupdatemasterinsert; |
|
property onbeforepost: tdatasetnotifyevent read fonbeforepost
write fonbeforepost; |
|
property onafterpost: afterdbopeventty read fonafterpost write fonafterpost; |
|
property onbeforedelete: tdatasetnotifyevent read fonbeforedelete
write fonbeforedelete; |
|
property onafterdelete: afterdbopeventty read fonafterdelete
write fonafterdelete; |
|
property onbeforecopyrecord: tdatasetnotifyevent read fonbeforecopyrecord
write fonbeforecopyrecord; |
|
property onaftercopyrecord: tdatasetnotifyevent read fonaftercopyrecord
write fonaftercopyrecord; |
|
Generated by PasDoc 0.16.0.