[ROOT] / doc / toc / ARCCore / Enum / PKRelAttributeP / OppositeTerm / __TOCDet / Attribute / PKTypeAttribute

PKTypeAttribute

PKTypeAttribute

KeyValue
BoilerplateCodeProperties// Autogenerated boilerplate code. Paste into your class as needed.
public String OppositeTerm{
get => IP.GetPV<String>(PKRelAttributeP.OppositeTerm);
set => IP.SetPV(PKRelAttributeP.OppositeTerm, value);
}
public AddOppositeTerm(String oppositeTerm) => IP.AddPV(PKRelAttributeP.OppositeTerm, oppositeTerm);
public String? GetOppositeTerm() => TryGetOppositeTerm(out var retval) ? retval : null;
public String GetOppositeTerm(String defaultValue) => TryGetOppositeTerm(out var retval) ? retval : defaultValue;
public bool TryGetOppositeTerm(out String oppositeTerm) => IP.TryGetPV(PKRelAttributeP.OppositeTerm, out oppositeTerm);


CardinalityHistoryOnly
DescriptionExample: For 'Employee', the key 'SupervisorId' where the supervisor is another 'Employee', will have another meaning "as seen from" the Supervisor, namely "Subordinates" or similar.

Used by ARCQuery (in QueryExpressionRel and ForeignKey) in order to enable queries like:
"Employee/42/REL Subordinate" (all Subordinates of Employee 42) and
"Employee/SELECT Name, Subordinate.Count()" (number of Subordinates for each Employee)
EnumMemberOppositeTerm
EnumTypePKRelAttributeP
IsObligatory-False-
Type-String-

7 items

Edit


Generated 2024-05-13 19:04:31.692 UTC