Class tsequencelink

Unit

Declaration

type tsequencelink = class(tmsecomponent, idbeditinfo)

Description

This item has no description. Showing description inherited from tmsecomponent.

Extends the FPC tcomponent with object linking facilities and the like; base of every MSEgui component. This unit, mseclasses, must be added to uses after classes in code that also uses a third-party unit expecting the plain FPC tcomponent (e.g. TPSScript.Create(TComponent)), since MSEgui forks the FPC classes unit.

Hierarchy

Overview

Methods

Protected procedure notification(acomponent: tcomponent; operation: toperation); override;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public function assql: string;
Public function currvalue: largeint;

Properties

Public property aslargeint: largeint read getaslargeint write setaslargeint;
Public property asinteger: integer read getasinteger write setasinteger;
Public property lastvalue: largeint read flastvalue;
Published property database: tsqlconnection read fdatabase write setdatabase;
Published property datasource: tdatasource read getdatasource write setdatasource;
Published property datafield: string read getdatafield write setdatafield;
Published property sequencename: string read fsequencename write setsequencename;
Published property onupdatevalue: updateint64eventty read fonupdatevalue write fonupdatevalue;

Description

Methods

Protected procedure notification(acomponent: tcomponent; operation: toperation); override;

This item has no description.

Public constructor create(aowner: tcomponent); override;

This item has no description.

Public destructor destroy; override;

This item has no description.

Public function assql: string;

This item has no description.

Public function currvalue: largeint;

This item has no description.

Properties

Public property aslargeint: largeint read getaslargeint write setaslargeint;

This item has no description.

Public property asinteger: integer read getasinteger write setasinteger;

This item has no description.

Public property lastvalue: largeint read flastvalue;

This item has no description.

Published property database: tsqlconnection read fdatabase write setdatabase;

This item has no description.

Published property datasource: tdatasource read getdatasource write setdatasource;

Leave datasource and datafield empty to only fetch the sequence value on demand (e.g. read it from asinteger/ aslargeint in the dataset's onbeforepost) instead of consuming a new sequence value on every insert attempt — useful when an insert can be aborted, since a bound field would otherwise waste a value each time.

Published property datafield: string read getdatafield write setdatafield;

This item has no description.

Published property sequencename: string read fsequencename write setsequencename;

This item has no description.

Published property onupdatevalue: updateint64eventty read fonupdatevalue write fonupdatevalue;

This item has no description.


Generated by PasDoc 1.0.4.