Show / Hide Table of Contents

Class ExtraFieldsRecordData

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

Inheritance
Object
ExtraFieldsRecordData
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 ExtraFieldsRecordData
Remarks

Please use this class instead of a full ExtraFieldsRow 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 ExtraFieldsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

ExtraFieldsRecordData()

Declaration
public ExtraFieldsRecordData()

Fields

DefaultValue

The default value of this extra field.

Declaration
public string DefaultValue
Field Value
Type Description
String

Description

Optional description of what this field is used for.

Declaration
public string Description
Field Value
Type Description
String

Domain

Enum indicating for what table this is an extra field (ticket, customer, company, etc).

Declaration
public short Domain
Field Value
Type Description
Int16

ExtraFieldsId

The primary key (auto-incremented)

Declaration
public int ExtraFieldsId
Field Value
Type Description
Int32

ExtraTable

The reference to the extra_table if this table is related to an extra_table. NULL or -1 if not set.

Declaration
public int ExtraTable
Field Value
Type Description
Int32

FieldName

The database name of this extra field.

Declaration
public string FieldName
Field Value
Type Description
String

Flags

A bitmask for flags for this extra field.

Declaration
public int Flags
Field Value
Type Description
Int32

Name

The name of this extra field.

Declaration
public string Name
Field Value
Type Description
String

OrderPos

Used to order elements when listed.

Declaration
public int OrderPos
Field Value
Type Description
Int32

Params

A string contaning various parameters for this extra field, stored in an arbitrary format.

Declaration
public string Params
Field Value
Type Description
String

TargetExtraTable

If this extra field is a extra table relation, then this is the id of the extra table this entry points to.

Declaration
public int TargetExtraTable
Field Value
Type Description
Int32

Type

Enum indicating the type for this extra field (string, int, date, etc).

Declaration
public short Type
Field Value
Type Description
Int16

Extension Methods

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