[ROOT] / doc / DocFrag / ARCCore.PKRelAttribute
| Key | Value |
|---|---|
| Assembly | ARCCore |
| DocFragType | Class |
| Name | PKRelAttribute |
| Namespace | ARCCore |
| Type | PKRelAttribute |
ClassAttribute
| Key | Value |
|---|---|
| AssemblyName | ARCCore |
| BaseTypes | Attribute; BaseAttribute; EnumMemberAttribute; BasePKAttribute |
| ClassNamespace | ARCCore |
| ClassType | PKRelAttribute |
| CorrespondingEnumType | PKRelAttributeP |
| Interfaces | IP; -IEnumerable<IKIP>-; -IEnumerable- |
Describes relationships between entities (between tables in RDBMS terms).
Note than in general relationsships are picked up automatically i AgoRapide through standardized naming of keys.
For instance, for 'Order', key 'CustomerId' is automatically assumed to point to a ForeignEntity of type 'Customer', so this attribute does not have to be specified.
However, for 'Employee', key 'SupervisorId' where the supervisor is another 'Employee', ForeignEntity has to be explicitly specified in order for the system to understand that 'SupervisorId' is actually a foreign key pointing to another 'Employee'.
In addition to explicit stating ForeignEntity, this attribute is also used to EnforceReferentialIntegrity
.
Generated 2025-10-29 15:14:31.417 UTC