[ROOT] / doc / DocFrag / ARCCore.PKRelAttribute

KeyValue
AssemblyARCCore
DocFragTypeClass
NamePKRelAttribute
NamespaceARCCore
TypePKRelAttribute

ClassAttribute

KeyValue
AssemblyNameARCCore
BaseTypesAttribute; BaseAttribute; EnumMemberAttribute; BasePKAttribute
ClassNamespaceARCCore
ClassTypePKRelAttribute
CorrespondingEnumTypePKRelAttributeP
InterfacesIP; -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
.

Edit


Generated 2025-10-29 17:33:03.081 UTC