Show / Hide Table of Contents

Class ElementProfileRecordData

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

Inheritance
object
ElementProfileRecordData
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOfficeCRMRows
Assembly: SoDataBase.dll
Syntax
public class ElementProfileRecordData
Remarks

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

Constructors

ElementProfileRecordData()

Declaration
public ElementProfileRecordData()

Fields

Config

The actual profile data. Each HtmlElement may choose format. Normally XML.

Declaration
public string Config
Field Value
Type Description
string

ElementProfileId

The primary key (auto-incremented)

Declaration
public int ElementProfileId
Field Value
Type Description
int

ElementType

What kind of element is this? Static, blogic or extra table?

Declaration
public short ElementType
Field Value
Type Description
short

FilterField

Name of field, if any, that is used to filter which profiles should be shown

Declaration
public string FilterField
Field Value
Type Description
string

FilterValue

If filter_field is set, then this field is the value that is used to filter which profiles should be shown

Declaration
public string FilterValue
Field Value
Type Description
string

Name

This is the name used by common profiles

Declaration
public string Name
Field Value
Type Description
string

OwnedByUser

The id of the user.

Declaration
public int OwnedByUser
Field Value
Type Description
int

ProfileType

Enum indicating whether this is the default profile (only one), user profile or a common profile. Defined in Profile.h

Declaration
public short ProfileType
Field Value
Type Description
short

ScreenDefinitionElement

The id of the screen_definition_element.

Declaration
public int ScreenDefinitionElement
Field Value
Type Description
int

StaticElement

An enum for which HtmlElement this is. All profileable elements in static screens has a unique enum matching this one.

Declaration
public short StaticElement
Field Value
Type Description
short

Extension Methods

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