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

Unit SLDataSet

Description

The SLDataSet - DB components for SQLite

Classes, Interfaces and Objects

NameDescription
record TRecInfo  
record TRecData  
record TColData  
Class TSLDataSet TDataSet descendant
Class TSLFun_RecNo Build-in function that enumerates row number

Functions and Procedures

Overview

procedure Register;
function TSLDataSet_ExecCallback (Sender: TSLDataSet; Columns: Integer; ColumnValues: Pointer; ColumnNames: Pointer): integer; cdecl;

Description

procedure Register;

 

function TSLDataSet_ExecCallback (Sender: TSLDataSet; Columns: Integer; ColumnValues: Pointer; ColumnNames: Pointer): integer; cdecl;

 

Types

NameDescription
PRecInfo = ^TRecInfo;  
PRecData = ^TRecData;  
PColData = ^TColData;  
TGettingMethod determine how dataset retrives data from the engine.
  • gmCallback:
  • gmGetTable:
  • gmVMachine:
TCBDtSetFlag callback flag used in TSLDataSet.

Callback is a function called by the engine - this flag determines what operation is pendning:

  • cdfUnknown: default, just to allow "empty" value.
  • cdfNormal: getting data, most common.
  • cdfInternal: insert,update,delete - or other "internal" operations.
  • cdfRequery: requering for updated record.
TSLOption represents single option

Used by TSLDataSet.

  • soUseROWIDs: rowid column is used to create updates/inserts/deletes, as well as in re-query.
  • soHideROWIDs: columns with rowid has visible = false.
  • soHideTableName:
  • soTextAsMemo: SQLite text fields are treated as TMemoFields, in other case they are TStringFields.
  • soRangedNumericsAsBCD:
  • soRangedFloatsAsBCD:
TSLOptions = set of TSLOption; represents option set

Used by TSLDataSet.

ESLRecNoError = Exception;  

Variables

NameDescription
__FunRecNo: TSLFun_RecNo; Internal function for getting row number

. You should not change it.

Authors

Michal Zaborowski <michal.zaborowski@wp.pl>

Paul DIAS GONCALVES <padigon@altern.org>


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