this class is derived from TTypedConstraint and has additional settings whether this relation is enabled or not
More...
|
| TTypedRelation (String AName, String ATable1, string[] AKey1, String ATable2, string[] AKey2, bool ACreateConstraints) |
| Create a typed relation, that is reusable, and helps when deleting tables. Table1/Key1 is the parent, Table2/Key2 is the child in the relationship More...
|
|
this class is derived from TTypedConstraint and has additional settings whether this relation is enabled or not
◆ TTypedRelation()
Ict.Common.Data.TTypedRelation.TTypedRelation |
( |
String |
AName, |
|
|
String |
ATable1, |
|
|
string[] |
AKey1, |
|
|
String |
ATable2, |
|
|
string[] |
AKey2, |
|
|
bool |
ACreateConstraints |
|
) |
| |
|
inline |
Create a typed relation, that is reusable, and helps when deleting tables. Table1/Key1 is the parent, Table2/Key2 is the child in the relationship
- Returns
- void
◆ FCreateConstraints
bool Ict.Common.Data.TTypedRelation.FCreateConstraints |
do we want constraints to be created for this relation
◆ FEnabled
bool Ict.Common.Data.TTypedRelation.FEnabled |
◆ FKey1
string [] Ict.Common.Data.TTypedConstraint.FKey1 |
|
inherited |
the foreign key in the first table
◆ FKey2
string [] Ict.Common.Data.TTypedConstraint.FKey2 |
|
inherited |
usually the primary key or another unique key of the second table
◆ FName
String Ict.Common.Data.TTypedConstraint.FName |
|
inherited |
◆ FTable1
String Ict.Common.Data.TTypedConstraint.FTable1 |
|
inherited |
first table involved, the one having the foreign key
◆ FTable2
String Ict.Common.Data.TTypedConstraint.FTable2 |
|
inherited |
the other table involved, it is refered to by the first table
The documentation for this class was generated from the following file: