type TSLDataSet = class()
function AllocRecordBuffer: PChar; override; |
|
function BookmarkValid(Bookmark: TBookmark): Boolean; override; |
|
function CompareBookmarks(Bookmark1, Bookmark2: TBookmark): Integer; override; |
|
constructor Create (AOwner: TComponent); override; |
|
destructor Destroy; override; |
|
procedure ExecSQL; |
|
procedure FreeRecordBuffer (var Buffer: PChar); override; |
|
procedure GetBookmarkData (Buffer: PChar; Data: Pointer); override; |
|
function GetBookmarkFlag (Buffer: PChar): TBookmarkFlag; override; |
|
function GetCanModify: Boolean; override; |
|
function GetFieldData (Field: TField; Buffer: Pointer; NativeFormat: Boolean): Boolean; override; |
|
function GetRecNo: Integer; override; |
|
function GetRecord (Buffer: PChar; GetMode: TGetMode; DoCheck: Boolean): TGetResult; override; |
|
function GetRecordCount: Integer; override; |
|
function GetRecordSize: Word; override; |
|
procedure InternalAddRecord (Buffer: Pointer; Append: Boolean); override; |
|
procedure InternalCancel; override; |
|
procedure InternalClose; override; |
|
procedure InternalDelete; override; |
|
procedure InternalFirst; override; |
|
procedure InternalGotoBookmark (Bookmark: Pointer); override; |
|
procedure InternalHandleException; override; |
|
procedure InternalInitFieldDefs; override; |
|
procedure InternalInitRecord (Buffer: PChar); override; |
|
procedure InternalLast; override; |
|
procedure InternalOpen; override; |
|
procedure InternalPost; override; |
|
procedure InternalSetToRecord (Buffer: PChar); override; |
|
function IsCursorOpen: Boolean; override; |
|
procedure Loaded; override; |
|
function Locate(const KeyFields: string; const KeyValues: Variant; Options: TLocateOptions): Boolean; override; |
|
function Lookup(const KeyFields: string; const KeyValues: Variant; const ResultFields: string): Variant; override; |
|
procedure SetBookmarkData (Buffer: PChar; Data: Pointer); override; |
|
procedure SetBookmarkFlag (Buffer: PChar; Value: TBookmarkFlag); override; |
|
procedure SetFieldData(Field: TField; Buffer: Pointer); overload; override; |
|
procedure SetFieldData (Field: TField; Buffer: Pointer; NativeFormat: Boolean); overload; override; |
|
procedure SetRecNo (Value: Integer); override; |
|
function UpdateStatus: TUpdateStatus; override; |
function AllocRecordBuffer: PChar; override; |
function BookmarkValid(Bookmark: TBookmark): Boolean; override; |
function CompareBookmarks(Bookmark1, Bookmark2: TBookmark): Integer; override; |
constructor Create (AOwner: TComponent); override; |
destructor Destroy; override; |
procedure ExecSQL; |
procedure FreeRecordBuffer (var Buffer: PChar); override; |
procedure GetBookmarkData (Buffer: PChar; Data: Pointer); override; |
function GetBookmarkFlag (Buffer: PChar): TBookmarkFlag; override; |
function GetCanModify: Boolean; override; |
function GetFieldData (Field: TField; Buffer: Pointer; NativeFormat: Boolean): Boolean; override; |
function GetRecNo: Integer; override; |
function GetRecord (Buffer: PChar; GetMode: TGetMode; DoCheck: Boolean): TGetResult; override; |
function GetRecordCount: Integer; override; |
function GetRecordSize: Word; override; |
procedure InternalAddRecord (Buffer: Pointer; Append: Boolean); override; |
procedure InternalCancel; override; |
procedure InternalClose; override; |
procedure InternalDelete; override; |
procedure InternalFirst; override; |
procedure InternalGotoBookmark (Bookmark: Pointer); override; |
procedure InternalHandleException; override; |
procedure InternalInitFieldDefs; override; |
procedure InternalInitRecord (Buffer: PChar); override; |
procedure InternalLast; override; |
procedure InternalOpen; override; |
procedure InternalPost; override; |
procedure InternalSetToRecord (Buffer: PChar); override; |
function IsCursorOpen: Boolean; override; |
procedure Loaded; override; |
function Locate(const KeyFields: string; const KeyValues: Variant; Options: TLocateOptions): Boolean; override; |
function Lookup(const KeyFields: string; const KeyValues: Variant; const ResultFields: string): Variant; override; |
procedure SetBookmarkData (Buffer: PChar; Data: Pointer); override; |
procedure SetBookmarkFlag (Buffer: PChar; Value: TBookmarkFlag); override; |
procedure SetFieldData(Field: TField; Buffer: Pointer); overload; override; |
procedure SetFieldData (Field: TField; Buffer: Pointer; NativeFormat: Boolean); overload; override; |
procedure SetRecNo (Value: Integer); override; |
function UpdateStatus: TUpdateStatus; override; |
property Active; |
|
property AfterCancel; |
|
property AfterClose; |
|
property AfterDelete; |
|
property AfterEdit; |
|
property AfterInsert; |
|
property AfterOpen; |
|
property AfterPost; |
|
property AfterRefresh; |
|
property AfterScroll; |
|
property BeforeCancel; |
|
property BeforeClose; |
|
property BeforeDelete; |
|
property BeforeEdit; |
|
property BeforeInsert; |
|
property BeforeOpen; |
|
property BeforePost; |
|
property BeforeRefresh; |
|
property BeforeScroll; |
|
property BufferCount; |
|
property Buffers; |
|
property CanModify; |
|
property DataBase: TSLDatabase; |
|
property FieldDefs; |
|
property Fields; |
|
property FieldValues; |
|
property GettingMethod: TGettingMethod; |
|
property ObjectView; |
|
property OnCalcFields; |
|
property OnDeleteError; |
|
property OnEditError; |
|
property OnNewRecord; |
|
property OnPostError; |
|
property ReadOnly: Boolean; |
|
property RecNo; |
|
property RecordCount; |
|
property RecordSize; |
|
property SLOptions: TSLOptions; |
|
property SQL: TStrings; |
|
property State; |
|
property Tail: String; |
|
property UpdatingFieldNames: String; |
|
property UpdatingTableName: String; |
property Active; |
property AfterCancel; |
property AfterClose; |
property AfterDelete; |
property AfterEdit; |
property AfterInsert; |
property AfterOpen; |
property AfterPost; |
property AfterRefresh; |
property AfterScroll; |
property BeforeCancel; |
property BeforeClose; |
property BeforeDelete; |
property BeforeEdit; |
property BeforeInsert; |
property BeforeOpen; |
property BeforePost; |
property BeforeRefresh; |
property BeforeScroll; |
property BufferCount; |
property Buffers; |
property CanModify; |
property DataBase: TSLDatabase; |
property FieldDefs; |
property Fields; |
property FieldValues; |
property GettingMethod: TGettingMethod; |
Determine how data are retrived from engine. See also TGettingMethod
.
property ObjectView; |
property OnCalcFields; |
property OnDeleteError; |
property OnEditError; |
property OnNewRecord; |
property OnPostError; |
property ReadOnly: Boolean; |
property RecNo; |
property RecordCount; |
property RecordSize; |
property SLOptions: TSLOptions; |
Options - see TSLOptions
.
property SQL: TStrings; |
property State; |
property Tail: String; |
Used when GettingMethod = gmVMachine. When SQLite compiles SQL to virtual machine only first statement is taken. Rest of query can be found here.
With ohter getting methods Tail property has no meaning.
property UpdatingFieldNames: String; |
Define fields that will be taken for update/insert. Not done yet.
property UpdatingTableName: String; |
Name of updating table. If no name set, by default name of first table will be taken