[ROOT] / doc / DocFrag / ARCCore.PKRelAttributeP.EnforceReferentialIntegrity / Attribute / PKTypeAttribute
PKTypeAttribute
Key | Value |
---|---|
BoilerplateCodeProperties | // Autogenerated boilerplate code. Paste into your class as needed. public Boolean EnforceReferentialIntegrity{ get => IP.GetPV<Boolean>(PKRelAttributeP.EnforceReferentialIntegrity); set => IP.SetPV(PKRelAttributeP.EnforceReferentialIntegrity, value); } public AddEnforceReferentialIntegrity(Boolean enforceReferentialIntegrity) => IP.AddPV(PKRelAttributeP.EnforceReferentialIntegrity, enforceReferentialIntegrity); public Boolean? GetEnforceReferentialIntegrity() => TryGetEnforceReferentialIntegrity(out var retval) ? retval : null; public Boolean GetEnforceReferentialIntegrity(Boolean defaultValue) => TryGetEnforceReferentialIntegrity(out var retval) ? retval : defaultValue; public bool TryGetEnforceReferentialIntegrity(out Boolean enforceReferentialIntegrity) => IP.TryGetPV(PKRelAttributeP.EnforceReferentialIntegrity, out enforceReferentialIntegrity); |
Cardinality | HistoryOnly |
Description | If TRUE then referential integrity will be enforced by TryStore. TryStore will then fail when: 1) At creation of key, corresponding foreign entity does not exist. 2i At deletion of foreign entity, if there still exist any foreign key pointing to the entity. NOTE: Use of this attribute is not active (not implemented?) as of Mar 2021. |
EnumMember | EnforceReferentialIntegrity |
EnumType | PKRelAttributeP |
IsObligatory | -False- |
Type | -Boolean- |
7 items
Generated 2024-06-16 13:44:12.971 UTC