Show / Hide Table of Contents

Class SLinkRecordData

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

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

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

Constructors

SLinkRecordData()

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

Declaration
public SLinkRecordData()
Remarks

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

Fields

ActionFlags

Bitmask defining what action should be taken

Declaration
public ShipmentLinkAction ActionFlags
Field Value
Type Description
ShipmentLinkAction
Remarks

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

AddContactInterest

Contact interest to add to recipient person

Declaration
public int AddContactInterest
Field Value
Type Description
int
Remarks

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

AddContactSelection

Static contact selection to add person to

Declaration
public int AddContactSelection
Field Value
Type Description
int
Remarks

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

AddPersonInterest

Person interest to add to recipient person

Declaration
public int AddPersonInterest
Field Value
Type Description
int
Remarks

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

AddProject

Project to add person to, as member

Declaration
public int AddProject
Field Value
Type Description
int
Remarks

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

AddToSelection

The id of the selection that the customer shall be added to

Declaration
public int AddToSelection
Field Value
Type Description
int
Remarks

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

Description

A short description of this link

Declaration
public string Description
Field Value
Type Description
string
Remarks

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

ExtraField

The name of the extra field to set if the customer clicks a link. empty if no extra field

Declaration
public string ExtraField
Field Value
Type Description
string
Remarks

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

FolderId

The folder which this link belongs to. -1 indicates that the link is on the root

Declaration
public int FolderId
Field Value
Type Description
int
Remarks

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

FormId

Relation to the form this link redirects to

Declaration
public int FormId
Field Value
Type Description
int
Remarks

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

FormParameters

Contains url parameters that will be added when link is inserted in message

Declaration
public string FormParameters
Field Value
Type Description
string
Remarks

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

Hits

Number of clicks on this link

Declaration
public int Hits
Field Value
Type Description
int
Remarks

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

LastReset

The time of last reset.

Declaration
public DateTime LastReset
Field Value
Type Description
DateTime
Remarks

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

LinkParameters

Contains parameters that will be added to the link when it is used

Declaration
public string LinkParameters
Field Value
Type Description
string
Remarks

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

LinkValue

The value of the extra field to set if the customer clicks a link.

Declaration
public string LinkValue
Field Value
Type Description
string
Remarks

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

LocalLink

If this references a shipment message, then this is a local link belonging to that message

Declaration
public int LocalLink
Field Value
Type Description
int
Remarks

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

RedirectKind

Enum defining the redirect kind (show text, url, etc) of the link

Declaration
public ShipmentLinkRedirectKind RedirectKind
Field Value
Type Description
ShipmentLinkRedirectKind
Remarks

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

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime
Remarks

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

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
int
Remarks

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

RemoveContactInterest

Person interest to remove from recipient person

Declaration
public int RemoveContactInterest
Field Value
Type Description
int
Remarks

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

RemoveContactSelection

Static contact selection to remove person from

Declaration
public int RemoveContactSelection
Field Value
Type Description
int
Remarks

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

RemoveFromSelection

The id of the selection that the customer shall be removed from

Declaration
public int RemoveFromSelection
Field Value
Type Description
int
Remarks

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

RemovePersonInterest

Person interest to remove from recipient person

Declaration
public int RemovePersonInterest
Field Value
Type Description
int
Remarks

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

RemoveProject

Project to remove person from, as member

Declaration
public int RemoveProject
Field Value
Type Description
int
Remarks

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

SLinkId

Primary key

Declaration
public int SLinkId
Field Value
Type Description
int
Remarks

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

ScriptId

The ejScript which will be run when the link is clicked. -1 means no script is run

Declaration
public int ScriptId
Field Value
Type Description
int
Remarks

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

Status

Deleted or not. Deleted links should still work.

Declaration
public short Status
Field Value
Type Description
short
Remarks

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

TaskAssociateId

Associate whose diary should receive the task or assignment (unless AssignToOurContact is specified)

Declaration
public int TaskAssociateId
Field Value
Type Description
int
Remarks

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

TaskCreatingAssociateId

Associate who should stand as creator of task; also works as fallback if an assigned task is rejected. Usually the associate who ordered the shipment

Declaration
public int TaskCreatingAssociateId
Field Value
Type Description
int
Remarks

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

TaskDuration

Task duration in minutes

Declaration
public int TaskDuration
Field Value
Type Description
int
Remarks

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

TaskFlags

Flags that control how the task is created

Declaration
public ShipmentLinkTaskFlags TaskFlags
Field Value
Type Description
ShipmentLinkTaskFlags
Remarks

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

TaskIdx

Task type of new task

Declaration
public int TaskIdx
Field Value
Type Description
int
Remarks

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

TaskProject

Project to connect task to, can be 0

Declaration
public int TaskProject
Field Value
Type Description
int
Remarks

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

TaskStart

Start time of task, unless UseNextAvailableTime is specified

Declaration
public DateTime TaskStart
Field Value
Type Description
DateTime
Remarks

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

TaskText

Text of task to be created

Declaration
public string TaskText
Field Value
Type Description
string
Remarks

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

TemplateText

Text to print when link is clicked.

Declaration
public string TemplateText
Field Value
Type Description
string
Remarks

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

TicketCategory

The id of the category a ticket is in.

Declaration
public int TicketCategory
Field Value
Type Description
int
Remarks

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

TicketOwnedBy

The id of the user who owns the ticket. 1 (system user) if the ticket is unassigned.

Declaration
public int TicketOwnedBy
Field Value
Type Description
int
Remarks

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

TicketPriority

The reference to the ticket_priority table.

Declaration
public int TicketPriority
Field Value
Type Description
int
Remarks

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

TicketTitle

The title on the ticket if the clicks results in creating a request.

Declaration
public string TicketTitle
Field Value
Type Description
string
Remarks

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

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime
Remarks

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

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
int
Remarks

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

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
short
Remarks

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

Url

The real URL of this link (www.vg.no etc)

Declaration
public string Url
Field Value
Type Description
string
Remarks

Please use this class instead of a full SLinkRow 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 SLinkTableInfo 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)
SLinkRecordDataExtensions.ToInsertAsync(SLinkRecordData, 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