Show / Hide Table of Contents

Class HierarchyRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the hierarchy table.

Inheritance
Object
HierarchyRecordData
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class HierarchyRecordData
Remarks

Please use this class instead of a full HierarchyRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding HierarchyTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

HierarchyRecordData()

Declaration
public HierarchyRecordData()

Fields

Domain

Domain seperating the different hierarchy

Declaration
public int Domain
Field Value
Type Description
Int32

Fullname

The full name of this category, i.e. Foo/bar/test.

Declaration
public string Fullname
Field Value
Type Description
String

HierarchyId

The primary key (auto-incremented)

Declaration
public int HierarchyId
Field Value
Type Description
Int32

Name

Name of this hierarchy folder.

Declaration
public string Name
Field Value
Type Description
String

ParentId

Parent table

Declaration
public int ParentId
Field Value
Type Description
Int32

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
Int32

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
Int32

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
Int16

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
HierarchyRecordDataExtensions.ToInsert(HierarchyRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top