Typ: Klasse
Stellt die Scriptklasse TTable bereit.
| Basisklasse | TObject |
|---|---|
| Statisch | false |
Klassendeklaration
type
TTable = class(TObject)
public
destructor Free;
procedure Save;
procedure UpdateNulls;
function ID: Integer;
function Fields: TFields;
function Indices: TIndices;
function Links: TLinks;
function PrimaryKey: TField;
function AlternateKey: TField;
function HasField(Name: String): Boolean;
function HasLink(Name: String): Boolean;
procedure NameToField(Name: String; Table: TTable; Field: TField);
procedure NameToLink(Name: String; Table: TTable; Link: TLink);
function PathToField(Path: String): TField;
function PathToLink(Path: String): TLink;
property Name: String;
property IsSeparatedClients: Boolean;
property IsSystem: Boolean;
property IsRelTable: Boolean;
property CanInsert: Boolean;
property CanUpdate: Boolean;
property CanDelete: Boolean;
property Label: String;
property Alias: String;
property ApplicationFilter: String;
property TypeHistorize: Integer;
property FieldsHistorize: String;
property Self: String;
property Caption: String;
property ActiveBeforeDelete: Boolean;
property ActiveBeforeUpdate: Boolean;
property ActiveBeforeInsert: Boolean;
property ActiveAfterDelete: Boolean;
property ActiveAfterUpdate: Boolean;
property ActiveAfterInsert: Boolean;
property ActiveWhileUpdate: Boolean;
property ActiveCanUpdate: Boolean;
property ActiveCanInsert: Boolean;
property ActiveCanDelete: Boolean;
property FieldsBeforeUpdate: String;
property FieldsAfterUpdate: String;
property FieldsWhileUpdate: String;
property Script[Type: Integer]: String;
end;
Methoden #
Free #
Gibt die Instanz frei.
Signatur
destructor Free;
Save #
Stellt Save bereit.
Signatur
procedure Save;
UpdateNulls #
Stellt UpdateNulls bereit.
Signatur
procedure UpdateNulls;
ID #
Stellt ID bereit.
Signatur
function ID: Integer;
Rueckgabewert
Integer – Rueckgabewert der Methode ID.
Fields #
Stellt Fields bereit.
Signatur
function Fields: TFields;
Rueckgabewert
TFields – Rueckgabewert der Methode Fields.
Indices #
Stellt Indices bereit.
Signatur
function Indices: TIndices;
Rueckgabewert
TIndices – Rueckgabewert der Methode Indices.
Links #
Stellt Links bereit.
Signatur
function Links: TLinks;
Rueckgabewert
TLinks – Rueckgabewert der Methode Links.
PrimaryKey #
Stellt PrimaryKey bereit.
Signatur
function PrimaryKey: TField;
Rueckgabewert
TField – Rueckgabewert der Methode PrimaryKey.
AlternateKey #
Stellt AlternateKey bereit.
Signatur
function AlternateKey: TField;
Rueckgabewert
TField – Rueckgabewert der Methode AlternateKey.
HasField #
Stellt HasField bereit.
Signatur
function HasField(Name: String): Boolean;
Parameter
| Name | Typ | Modifier | Optional | Beschreibung |
|---|---|---|---|---|
Name |
String |
value |
Nein | Parameter Name der Methode. |
Rueckgabewert
Boolean – Rueckgabewert der Methode HasField.
HasLink #
Stellt HasLink bereit.
Signatur
function HasLink(Name: String): Boolean;
Parameter
| Name | Typ | Modifier | Optional | Beschreibung |
|---|---|---|---|---|
Name |
String |
value |
Nein | Parameter Name der Methode. |
Rueckgabewert
Boolean – Rueckgabewert der Methode HasLink.
NameToField #
Stellt NameToField bereit.
Signatur
procedure NameToField(Name: String; Table: TTable; Field: TField);
Parameter
| Name | Typ | Modifier | Optional | Beschreibung |
|---|---|---|---|---|
Name |
String |
value |
Nein | Parameter Name der Methode. |
Table |
TTable |
value |
Ja | Parameter Table der Methode. |
Field |
TField |
value |
Ja | Parameter Field der Methode. |
NameToLink #
Stellt NameToLink bereit.
Signatur
procedure NameToLink(Name: String; Table: TTable; Link: TLink);
Parameter
| Name | Typ | Modifier | Optional | Beschreibung |
|---|---|---|---|---|
Name |
String |
value |
Nein | Parameter Name der Methode. |
Table |
TTable |
value |
Ja | Parameter Table der Methode. |
Link |
TLink |
value |
Ja | Parameter Link der Methode. |
PathToField #
Stellt PathToField bereit.
Signatur
function PathToField(Path: String): TField;
Parameter
| Name | Typ | Modifier | Optional | Beschreibung |
|---|---|---|---|---|
Path |
String |
value |
Nein | Parameter Path der Methode. |
Rueckgabewert
TField – Rueckgabewert der Methode PathToField.
PathToLink #
Stellt PathToLink bereit.
Signatur
function PathToLink(Path: String): TLink;
Parameter
| Name | Typ | Modifier | Optional | Beschreibung |
|---|---|---|---|---|
Path |
String |
value |
Nein | Parameter Path der Methode. |
Rueckgabewert
TLink – Rueckgabewert der Methode PathToLink.
Properties #
Name #
Property Name.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property Name: String;
IsSeparatedClients #
Property IsSeparatedClients.
| Typ | Boolean |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property IsSeparatedClients: Boolean;
IsSystem #
Property IsSystem.
| Typ | Boolean |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property IsSystem: Boolean;
IsRelTable #
Property IsRelTable.
| Typ | Boolean |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property IsRelTable: Boolean;
CanInsert #
Property CanInsert.
| Typ | Boolean |
|---|---|
| Lesbar | true |
| Schreibbar | false |
Signatur
property CanInsert: Boolean;
CanUpdate #
Property CanUpdate.
| Typ | Boolean |
|---|---|
| Lesbar | true |
| Schreibbar | false |
Signatur
property CanUpdate: Boolean;
CanDelete #
Property CanDelete.
| Typ | Boolean |
|---|---|
| Lesbar | true |
| Schreibbar | false |
Signatur
property CanDelete: Boolean;
Label #
Property Label.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property Label: String;
Alias #
Property Alias.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property Alias: String;
ApplicationFilter #
Property ApplicationFilter.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property ApplicationFilter: String;
TypeHistorize #
Property TypeHistorize.
| Typ | Integer |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property TypeHistorize: Integer;
FieldsHistorize #
Property FieldsHistorize.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property FieldsHistorize: String;
Self #
Property Self.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property Self: String;
Caption #
Property Caption.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property Caption: String;
ActiveBeforeDelete #
Property ActiveBeforeDelete.
| Typ | Boolean |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property ActiveBeforeDelete: Boolean;
ActiveBeforeUpdate #
Property ActiveBeforeUpdate.
| Typ | Boolean |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property ActiveBeforeUpdate: Boolean;
ActiveBeforeInsert #
Property ActiveBeforeInsert.
| Typ | Boolean |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property ActiveBeforeInsert: Boolean;
ActiveAfterDelete #
Property ActiveAfterDelete.
| Typ | Boolean |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property ActiveAfterDelete: Boolean;
ActiveAfterUpdate #
Property ActiveAfterUpdate.
| Typ | Boolean |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property ActiveAfterUpdate: Boolean;
ActiveAfterInsert #
Property ActiveAfterInsert.
| Typ | Boolean |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property ActiveAfterInsert: Boolean;
ActiveWhileUpdate #
Property ActiveWhileUpdate.
| Typ | Boolean |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property ActiveWhileUpdate: Boolean;
ActiveCanUpdate #
Property ActiveCanUpdate.
| Typ | Boolean |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property ActiveCanUpdate: Boolean;
ActiveCanInsert #
Property ActiveCanInsert.
| Typ | Boolean |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property ActiveCanInsert: Boolean;
ActiveCanDelete #
Property ActiveCanDelete.
| Typ | Boolean |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property ActiveCanDelete: Boolean;
FieldsBeforeUpdate #
Property FieldsBeforeUpdate.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property FieldsBeforeUpdate: String;
FieldsAfterUpdate #
Property FieldsAfterUpdate.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property FieldsAfterUpdate: String;
FieldsWhileUpdate #
Property FieldsWhileUpdate.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property FieldsWhileUpdate: String;
Script #
Property Script.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property Script[Type: Integer]: String;
Kategorie: TTable
