Units
Class Hierarchy
Classes, Interfaces and Objects
Types
Variables
Constants
Functions and Procedures
Identifiers

Class TSLDataSet

Unit

SLDataSet

Declaration

type TSLDataSet = class()

Description

TDataSet descendant

Methods

Overview

Protected function AllocRecordBuffer: PChar; override;
Public function BookmarkValid(Bookmark: TBookmark): Boolean; override;
Public function CompareBookmarks(Bookmark1, Bookmark2: TBookmark): Integer; override;
Public constructor Create (AOwner: TComponent); override;
Public destructor Destroy; override;
Public procedure ExecSQL;
Protected procedure FreeRecordBuffer (var Buffer: PChar); override;
Protected procedure GetBookmarkData (Buffer: PChar; Data: Pointer); override;
Protected function GetBookmarkFlag (Buffer: PChar): TBookmarkFlag; override;
Protected function GetCanModify: Boolean; override;
Public function GetFieldData (Field: TField; Buffer: Pointer; NativeFormat: Boolean): Boolean; override;
Protected function GetRecNo: Integer; override;
Protected function GetRecord (Buffer: PChar; GetMode: TGetMode; DoCheck: Boolean): TGetResult; override;
Protected function GetRecordCount: Integer; override;
Protected function GetRecordSize: Word; override;
Protected procedure InternalAddRecord (Buffer: Pointer; Append: Boolean); override;
Protected procedure InternalCancel; override;
Protected procedure InternalClose; override;
Protected procedure InternalDelete; override;
Protected procedure InternalFirst; override;
Protected procedure InternalGotoBookmark (Bookmark: Pointer); override;
Protected procedure InternalHandleException; override;
Protected procedure InternalInitFieldDefs; override;
Protected procedure InternalInitRecord (Buffer: PChar); override;
Protected procedure InternalLast; override;
Protected procedure InternalOpen; override;
Protected procedure InternalPost; override;
Protected procedure InternalSetToRecord (Buffer: PChar); override;
Protected function IsCursorOpen: Boolean; override;
Protected procedure Loaded; override;
Public function Locate(const KeyFields: string; const KeyValues: Variant; Options: TLocateOptions): Boolean; override;
Public function Lookup(const KeyFields: string; const KeyValues: Variant; const ResultFields: string): Variant; override;
Protected procedure SetBookmarkData (Buffer: PChar; Data: Pointer); override;
Protected procedure SetBookmarkFlag (Buffer: PChar; Value: TBookmarkFlag); override;
Protected procedure SetFieldData(Field: TField; Buffer: Pointer); overload; override;
Protected procedure SetFieldData (Field: TField; Buffer: Pointer; NativeFormat: Boolean); overload; override;
Protected procedure SetRecNo (Value: Integer); override;
Public function UpdateStatus: TUpdateStatus; override;

Description

Protected function AllocRecordBuffer: PChar; override;

 

Public function BookmarkValid(Bookmark: TBookmark): Boolean; override;

 

Public function CompareBookmarks(Bookmark1, Bookmark2: TBookmark): Integer; override;

 

Public constructor Create (AOwner: TComponent); override;

 

Public destructor Destroy; override;

 

Public procedure ExecSQL;

 

Protected procedure FreeRecordBuffer (var Buffer: PChar); override;

 

Protected procedure GetBookmarkData (Buffer: PChar; Data: Pointer); override;

 

Protected function GetBookmarkFlag (Buffer: PChar): TBookmarkFlag; override;

 

Protected function GetCanModify: Boolean; override;

 

Public function GetFieldData (Field: TField; Buffer: Pointer; NativeFormat: Boolean): Boolean; override;

 

Protected function GetRecNo: Integer; override;

 

Protected function GetRecord (Buffer: PChar; GetMode: TGetMode; DoCheck: Boolean): TGetResult; override;

 

Protected function GetRecordCount: Integer; override;

 

Protected function GetRecordSize: Word; override;

 

Protected procedure InternalAddRecord (Buffer: Pointer; Append: Boolean); override;

 

Protected procedure InternalCancel; override;

 

Protected procedure InternalClose; override;

 

Protected procedure InternalDelete; override;

 

Protected procedure InternalFirst; override;

 

Protected procedure InternalGotoBookmark (Bookmark: Pointer); override;

 

Protected procedure InternalHandleException; override;

 

Protected procedure InternalInitFieldDefs; override;

 

Protected procedure InternalInitRecord (Buffer: PChar); override;

 

Protected procedure InternalLast; override;

 

Protected procedure InternalOpen; override;

 

Protected procedure InternalPost; override;

 

Protected procedure InternalSetToRecord (Buffer: PChar); override;

 

Protected function IsCursorOpen: Boolean; override;

 

Protected procedure Loaded; override;

 

Public function Locate(const KeyFields: string; const KeyValues: Variant; Options: TLocateOptions): Boolean; override;

 

Public function Lookup(const KeyFields: string; const KeyValues: Variant; const ResultFields: string): Variant; override;

 

Protected procedure SetBookmarkData (Buffer: PChar; Data: Pointer); override;

 

Protected procedure SetBookmarkFlag (Buffer: PChar; Value: TBookmarkFlag); override;

 

Protected procedure SetFieldData(Field: TField; Buffer: Pointer); overload; override;

 

Protected procedure SetFieldData (Field: TField; Buffer: Pointer; NativeFormat: Boolean); overload; override;

 

Protected procedure SetRecNo (Value: Integer); override;

 

Public function UpdateStatus: TUpdateStatus; override;

 

Properties

Overview

Published property Active;
Published property AfterCancel;
Published property AfterClose;
Published property AfterDelete;
Published property AfterEdit;
Published property AfterInsert;
Published property AfterOpen;
Published property AfterPost;
Published property AfterRefresh;
Published property AfterScroll;
Published property BeforeCancel;
Published property BeforeClose;
Published property BeforeDelete;
Published property BeforeEdit;
Published property BeforeInsert;
Published property BeforeOpen;
Published property BeforePost;
Published property BeforeRefresh;
Published property BeforeScroll;
Public property BufferCount;
Public property Buffers;
Published property CanModify;
Published property DataBase: TSLDatabase;
Published property FieldDefs;
Public property Fields;
Public property FieldValues;
Published property GettingMethod: TGettingMethod;
Published property ObjectView;
Published property OnCalcFields;
Published property OnDeleteError;
Published property OnEditError;
Published property OnNewRecord;
Published property OnPostError;
Published property ReadOnly: Boolean;
Public property RecNo;
Public property RecordCount;
Public property RecordSize;
Published property SLOptions: TSLOptions;
Published property SQL: TStrings;
Public property State;
Public property Tail: String;
Published property UpdatingFieldNames: String;
Published property UpdatingTableName: String;

Description

Published property Active;

 

Published property AfterCancel;

 

Published property AfterClose;

 

Published property AfterDelete;

 

Published property AfterEdit;

 

Published property AfterInsert;

 

Published property AfterOpen;

 

Published property AfterPost;

 

Published property AfterRefresh;

 

Published property AfterScroll;

 

Published property BeforeCancel;

 

Published property BeforeClose;

 

Published property BeforeDelete;

 

Published property BeforeEdit;

 

Published property BeforeInsert;

 

Published property BeforeOpen;

 

Published property BeforePost;

 

Published property BeforeRefresh;

 

Published property BeforeScroll;

 

Public property BufferCount;

 

Public property Buffers;

 

Published property CanModify;

 

Published property DataBase: TSLDatabase;

 

Published property FieldDefs;

 

Public property Fields;

 

Public property FieldValues;

 

Published property GettingMethod: TGettingMethod;

Determine how data are retrived from engine. See also TGettingMethod.

Published property ObjectView;

 

Published property OnCalcFields;

 

Published property OnDeleteError;

 

Published property OnEditError;

 

Published property OnNewRecord;

 

Published property OnPostError;

 

Published property ReadOnly: Boolean;

 

Public property RecNo;

 

Public property RecordCount;

 

Public property RecordSize;

 

Published property SLOptions: TSLOptions;

Options - see TSLOptions.

Published property SQL: TStrings;

 

Public property State;

 

Public 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.

Published property UpdatingFieldNames: String;

Define fields that will be taken for update/insert. Not done yet.

Published property UpdatingTableName: String;

Name of updating table. If no name set, by default name of first table will be taken


Generated by PasDoc 0.8.7 on N 16- lis 2003 16:05:17