this defines a constraint, foreign key
More...
|
| | TTypedConstraint (String AName, String ATable1, string[] AKey1, String ATable2, string[] AKey2) |
| | Create a typed constraint, that is reusable, and helps when deleting tables. Key2 points to table1 with Key1; e.g. key2 is the foreign key, key1 is a primary key the constraint is added to table2 This follows the parameter order of System.Data.ConstraintCollection.Add( name, primaryKeyColumn, foreignKeyColumn) More...
|
| |
| | TTypedConstraint () |
| | default constructor More...
|
| |
|
| String | FName |
| | name of the constraint More...
|
| |
| String | FTable1 |
| | first table involved, the one having the foreign key More...
|
| |
| String | FTable2 |
| | the other table involved, it is refered to by the first table More...
|
| |
| string[] | FKey1 |
| | the foreign key in the first table More...
|
| |
| string[] | FKey2 |
| | usually the primary key or another unique key of the second table More...
|
| |
this defines a constraint, foreign key
◆ TTypedConstraint() [1/2]
| Ict.Common.Data.TTypedConstraint.TTypedConstraint |
( |
String |
AName, |
|
|
String |
ATable1, |
|
|
string[] |
AKey1, |
|
|
String |
ATable2, |
|
|
string[] |
AKey2 |
|
) |
| |
|
inline |
Create a typed constraint, that is reusable, and helps when deleting tables. Key2 points to table1 with Key1; e.g. key2 is the foreign key, key1 is a primary key the constraint is added to table2 This follows the parameter order of System.Data.ConstraintCollection.Add( name, primaryKeyColumn, foreignKeyColumn)
- Returns
- void
◆ TTypedConstraint() [2/2]
| Ict.Common.Data.TTypedConstraint.TTypedConstraint |
( |
| ) |
|
|
inline |
◆ FKey1
| string [] Ict.Common.Data.TTypedConstraint.FKey1 |
the foreign key in the first table
◆ FKey2
| string [] Ict.Common.Data.TTypedConstraint.FKey2 |
usually the primary key or another unique key of the second table
◆ FName
| String Ict.Common.Data.TTypedConstraint.FName |
◆ FTable1
| String Ict.Common.Data.TTypedConstraint.FTable1 |
first table involved, the one having the foreign key
◆ FTable2
| String Ict.Common.Data.TTypedConstraint.FTable2 |
the other table involved, it is refered to by the first table
The documentation for this class was generated from the following file: