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()

Declaration
public ExtraMenusRecordData()

Fields

BaseProgram

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

Declaration
public short BaseProgram
Field Value
Type Description
Int16

ExtraInfo

Field used for various extra information depending on menu type

Declaration
public string ExtraInfo
Field Value
Type Description
String

ExtraMenusId

The primary key (auto-incremented)

Declaration
public int ExtraMenusId
Field Value
Type Description
Int32

ExtraTable

ExtraTable that the menu is connected to

Declaration
public int ExtraTable
Field Value
Type Description
Int32

Flags

Flags

Declaration
public uint Flags
Field Value
Type Description
UInt32

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
Int32

IconUrl

The icon url for this menu.

Declaration
public string IconUrl
Field Value
Type Description
String

Label

The label for this menu.

Declaration
public string Label
Field Value
Type Description
String

OrderPos

Used to order elements when listed.

Declaration
public int OrderPos
Field Value
Type Description
Int32

Screen

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

Declaration
public short Screen
Field Value
Type Description
Int16

Target

The target for this url.

Declaration
public string Target
Field Value
Type Description
String

Url

The url for this menu.

Declaration
public string Url
Field Value
Type Description
String

Extension Methods

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