Show / Hide Table of Contents

Class ScreenDefinitionRecordData

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

Inheritance
object
ScreenDefinitionRecordData
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 ScreenDefinitionRecordData
Remarks

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

Constructors

ScreenDefinitionRecordData()

Declaration
public ScreenDefinitionRecordData()

Fields

Autosave

Whether this screen uses autosave or not

Declaration
public short Autosave
Field Value
Type Description
short

CreationScript

The script used at the top of all other creation scripts on this page

Declaration
public string CreationScript
Field Value
Type Description
string

Description

Optional description of what this screen is used for

Declaration
public string Description
Field Value
Type Description
string

HierarchyId

The screen definition is inside this hierarchy folder

Declaration
public int HierarchyId
Field Value
Type Description
int

IdString

A field for an id_string which may be used to access the screen

Declaration
public string IdString
Field Value
Type Description
string

LayoutModel

An enum for which layout model this screen is using.

Declaration
public short LayoutModel
Field Value
Type Description
short

LoadFinalScriptBody

The ejscript to execute just before the page is printed, after button/action scripts have been run

Declaration
public string LoadFinalScriptBody
Field Value
Type Description
string

LoadPostCgiScriptBody

The ejscript to execute after setFromCgi, e.g. when the page is submitted

Declaration
public string LoadPostCgiScriptBody
Field Value
Type Description
string

LoadScriptBody

The ejscript to execute the first time this screen is loaded, e.g. for form loading

Declaration
public string LoadScriptBody
Field Value
Type Description
string

Name

A field for entering the name of this entry

Declaration
public string Name
Field Value
Type Description
string

ScreenDefinitionId

Primary key

Declaration
public int ScreenDefinitionId
Field Value
Type Description
int

ScreenKey

This field holds the authentication key if used

Declaration
public string ScreenKey
Field Value
Type Description
string

WarnOnNavigate

Decides if user will get a warning if he accidentally navigates away from unsaved changes for this screen

Declaration
public short WarnOnNavigate
Field Value
Type Description
short

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ScreenDefinitionRecordDataExtensions.ToInsertAsync(ScreenDefinitionRecordData, 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