Show / Hide Table of Contents

Class BoKey

Those fields of a BusinessObject annotated with the [BoKey] Attribute are considered part of the (composite) key of the Business Object. The BusinessObject Type together with the key identifies a BusinessObject.

Inheritance
System.Object
BoKey
Namespace: BO4E.meta
Assembly: BO4Enet.dll
Syntax
public class BoKey : Attribute

Constructors

| Improve this Doc View Source

BoKey(Boolean)

Declaration
public BoKey(bool ignoreInheritedKeys = false)
Parameters
Type Name Description
System.Boolean ignoreInheritedKeys

set to true to ignore inherited keys

Examples
Marktteilnehmer : Geschaeftspartner
{
    [BoKey(true)]
    public string rollencodenummer;
}

We don't want the Marktteilnehmer BO to inherit the keys like name1 etc. from the Geschaeftspartner object because the rollencodenummer is a better ID.

Properties

| Improve this Doc View Source

IgnoreInheritedKeys

BoKey

Declaration
public bool IgnoreInheritedKeys { get; }
Property Value
Type Description
System.Boolean

Extension Methods

BusinessObjectExtensions.DeepClone<T>(T)
COMExtensions.DeepClone<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX