Class TOlfTDSTable
Unit
Declaration
type TOlfTDSTable = class(TComponent)
Description
Attributes
ComponentPlatformsAttribute
(pidAllPlatforms)
Hierarchy
- TObject
- TPersistent
- TComponent
- TOlfTDSTable
Overview
Fields
![]() |
FKeyList: TOlfTDSFieldList; |
![]() |
FForeignKeyList: TOlfTDSForeignKeyList; |
Methods
![]() |
function getChangedDateTimeFieldName: string; |
![]() |
function getChangedFieldName: string; |
![]() |
function getNoSeqFieldName: string; |
![]() |
procedure DoSynchro; |
![]() |
procedure Step01OpenSession; |
![]() |
procedure Step02RemoteToLocal; |
![]() |
procedure Step03LocalToRemote; |
![]() |
procedure Step04CloseSession; |
![]() |
procedure StartSynchro; |
![]() |
procedure StopSynchro; |
![]() |
function AddKey(AKeyField: TOlfTDSField): TOlfTDSTable; overload; |
![]() |
function AddKey(AFieldName, ASyncFieldName: string): TOlfTDSTable; overload; |
![]() |
function AddKey(AFieldName: string): TOlfTDSTable; overload; |
![]() |
function AddForeignKey(AForeignKey: TOlfTDSForeignKey) : TOlfTDSTable; overload; |
![]() |
function AddForeignKey(ALocalFieldName: string; AForeignTableName: string; AForeignFieldName: string): TOlfTDSTable; overload; |
![]() |
function AddForeignKey(ALocalFieldName, ALocalSyncFieldName: string; AForeignTableName: string; AForeignFieldName, AForeignSyncFieldName : string): TOlfTDSTable; overload; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
Properties
![]() |
property Database: TOlfTDSDatabase read FDatabase write SetDatabase; |
![]() |
property TableName: string read FTableName write SetTableName; |
![]() |
property SyncType: TOlfTDSSyncType read FSyncType write SetSyncType; |
![]() |
property ChangedFieldName: string read FChangedFieldName
write SetChangedFieldName; |
![]() |
property ChangedDateTimeFieldName: string read FChangedDateTimeFieldName
write SetChangedDateTimeFieldName; |
![]() |
property TableDeleteType: TOlfTDSTableDeleteType read FTableDeleteType
write SetTableDeleteType; |
![]() |
property NoSeqFieldName: string read FNoSeqFieldName
write SetNoSeqFieldName; |
![]() |
property onSynchroStart: TNotifyEvent read FonSynchroStart
write SetonSynchroStart; |
![]() |
property onSynchroStop: TNotifyEvent read FonSynchroStop
write SetonSynchroStop; |
![]() |
property onSessionOpen: TOlfTDSTableSessionOpenEvent read FonSessionOpen
write SetonSessionOpen; |
![]() |
property onSessionClose: TOlfTDSTableSessionCloseEvent read FonSessionClose
write SetonSessionClose; |
Description
Fields
![]() |
FKeyList: TOlfTDSFieldList; |
![]() |
FForeignKeyList: TOlfTDSForeignKeyList; |
Methods
![]() |
function getChangedDateTimeFieldName: string; |
![]() |
function getChangedFieldName: string; |
![]() |
function getNoSeqFieldName: string; |
![]() |
procedure DoSynchro; |
![]() |
procedure Step01OpenSession; |
![]() |
procedure Step02RemoteToLocal; |
![]() |
procedure Step03LocalToRemote; |
![]() |
procedure Step04CloseSession; |
![]() |
procedure StartSynchro; |
![]() |
procedure StopSynchro; |
![]() |
function AddKey(AKeyField: TOlfTDSField): TOlfTDSTable; overload; |
![]() |
function AddKey(AFieldName, ASyncFieldName: string): TOlfTDSTable; overload; |
![]() |
function AddKey(AFieldName: string): TOlfTDSTable; overload; |
![]() |
function AddForeignKey(AForeignKey: TOlfTDSForeignKey) : TOlfTDSTable; overload; |
![]() |
function AddForeignKey(ALocalFieldName: string; AForeignTableName: string; AForeignFieldName: string): TOlfTDSTable; overload; |
![]() |
function AddForeignKey(ALocalFieldName, ALocalSyncFieldName: string; AForeignTableName: string; AForeignFieldName, AForeignSyncFieldName : string): TOlfTDSTable; overload; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
Properties
![]() |
property Database: TOlfTDSDatabase read FDatabase write SetDatabase; |
![]() |
property TableName: string read FTableName write SetTableName; |
![]() |
property SyncType: TOlfTDSSyncType read FSyncType write SetSyncType; |
![]() |
property ChangedFieldName: string read FChangedFieldName
write SetChangedFieldName; |
![]() |
property ChangedDateTimeFieldName: string read FChangedDateTimeFieldName
write SetChangedDateTimeFieldName; |
![]() |
property TableDeleteType: TOlfTDSTableDeleteType read FTableDeleteType
write SetTableDeleteType; |
![]() |
property NoSeqFieldName: string read FNoSeqFieldName
write SetNoSeqFieldName; |
![]() |
property onSynchroStart: TNotifyEvent read FonSynchroStart
write SetonSynchroStart; |
Déclenché avant démarrage de la synchronisation de la table en cours |
![]() |
property onSynchroStop: TNotifyEvent read FonSynchroStop
write SetonSynchroStop; |
Déclenché après synchronisation de la table en cours |
![]() |
property onSessionOpen: TOlfTDSTableSessionOpenEvent read FonSessionOpen
write SetonSessionOpen; |
Déclenché avant la demande de connexion pour synchroniser la table en cours. Permet d'ajouter des éléments complémentaires à transmettre au serveur (user/password, infos de base de données, ...) sous forme de paires clé/valeur qui seront traités lors du "login". |
![]() |
property onSessionClose: TOlfTDSTableSessionCloseEvent read FonSessionClose
write SetonSessionClose; |
Déclenché en fermeture de session, suite à une synchronisation de la table en cours. Permet de transmettre des éléments au serveur sous forme de clé/valeur qui seront traités lors du "logout" |
Generated by PasDoc 0.16.0.