Show / Hide Table of Contents

Class ExtraMenusRecordData

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

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

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

Constructors

ExtraMenusRecordData()

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

Declaration
public ExtraMenusRecordData()
Remarks

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

Fields

BaseProgram

Base program used in url (ticket, rms, ...)

Declaration
public short BaseProgram
Field Value
Type Description
short
Remarks

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

ExtraInfo

Field used for various extra information depending on menu type

Declaration
public string ExtraInfo
Field Value
Type Description
string
Remarks

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

ExtraMenusId

The primary key (auto-incremented)

Declaration
public int ExtraMenusId
Field Value
Type Description
int
Remarks

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

ExtraTable

ExtraTable that the menu is connected to

Declaration
public int ExtraTable
Field Value
Type Description
int
Remarks

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

Flags

Flags

Declaration
public uint Flags
Field Value
Type Description
uint
Remarks

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

GroupId

Link to extra_menus table if this menu item is to be shown in a custom menu group

Declaration
public int GroupId
Field Value
Type Description
int
Remarks

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

IconUrl

The icon url for this menu.

Declaration
public string IconUrl
Field Value
Type Description
string
Remarks

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

Label

The label for this menu.

Declaration
public string Label
Field Value
Type Description
string
Remarks

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

OrderPos

Used to order elements when listed.

Declaration
public int OrderPos
Field Value
Type Description
int
Remarks

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

Screen

Enum indicating for what screen this is an extra menu (listTicket, listCustomer, main, etc).

Declaration
public short Screen
Field Value
Type Description
short
Remarks

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

Target

The target for this url.

Declaration
public string Target
Field Value
Type Description
string
Remarks

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

Url

The url for this menu.

Declaration
public string Url
Field Value
Type Description
string
Remarks

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

Extension Methods

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