Show / Hide Table of Contents

Class DataCategoryAttribute

This class provides a custom attribute used to annotated fields of Business Objects with a data category.

Inheritance
System.Object
DataCategoryAttribute
Namespace: BO4E.meta
Assembly: BO4Enet.dll
Syntax
public class DataCategoryAttribute : Attribute
Examples
public class Ansprechpartner : BusinessObject
{
   ...
[DataCategory(DataCategory.NAME)]
public string nachname;
   ...
[DataCategory(DataCategory.ADDRESS)]
public string eMailAdresse;
  ...
}

Constructors

| Improve this Doc View Source

DataCategoryAttribute(Object[])

Declaration
public DataCategoryAttribute(params object[] enums)
Parameters
Type Name Description
System.Object[] enums

Properties

| Improve this Doc View Source

Mapping

contains those DataCategories (DataCategory) annotated to the field.

Declaration
public HashSet<Enum> Mapping { get; set; }
Property Value
Type Description
HashSet<Enum>

Extension Methods

BusinessObjectExtensions.DeepClone<T>(T)
COMExtensions.DeepClone<T>(T)

See Also

DataCategory
  • Improve this Doc
  • View Source
Back to top Generated by DocFX