Show / Hide Table of Contents

Class SelectionRecordData

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

Inheritance
Object
SelectionRecordData
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class SelectionRecordData : Object
Remarks

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

Constructors

SelectionRecordData()

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

Declaration
public SelectionRecordData()
Remarks

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

Fields

AssociateId

Associate who owns the selection

Declaration
public int AssociateId
Field Value
Type Description
Int32
Remarks

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

ChartKey

ID/key of the last-used chart tile on this selection

Declaration
public string ChartKey
Field Value
Type Description
String
Remarks

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

CombinationType

How should the inputs of a combined selection be combined

Declaration
public SelectionUnionType CombinationType
Field Value
Type Description
SelectionUnionType
Remarks

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

CompanyUnique

Only one person from a company may be selected as a member

Declaration
public short CompanyUnique
Field Value
Type Description
Int16
Remarks

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

DashboardTileDefinitionId

The associated tile definition

Declaration
public int DashboardTileDefinitionId
Field Value
Type Description
Int32
Remarks

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

Done

Done (0=false, 1=true). Status implies changes in which fields are shown in GUI, as well as which fields can be updated

Declaration
public short Done
Field Value
Type Description
Int16
Remarks

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

GroupIdx

Original primary user group of associate

Declaration
public int GroupIdx
Field Value
Type Description
Int32
Remarks

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

IncludePerson

0 = Include first person, 1 = Include all persons, 2 = Include no persons

Declaration
public int IncludePerson
Field Value
Type Description
Int32
Remarks

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

LastLoaded

The date/time this selection was last loaded (selectionentity fetched)

Declaration
public DateTime LastLoaded
Field Value
Type Description
DateTime
Remarks

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

LastLoadedBy

Who last loaded this selection

Declaration
public int LastLoadedBy
Field Value
Type Description
Int32
Remarks

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

LastMembershipChange

The date/time the membership the selection last changed. Dynamic: change of criteria; Static: add/remove members; Combined: change of algorithm

Declaration
public DateTime LastMembershipChange
Field Value
Type Description
DateTime
Remarks

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

LastMembershipChangeBy

Who last changed the membership

Declaration
public int LastMembershipChangeBy
Field Value
Type Description
Int32
Remarks

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

LeftSelectionId

ID of the left selection of a combined selection

Declaration
public int LeftSelectionId
Field Value
Type Description
Int32
Remarks

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

MemberCount

How many selectionmembers (for progress bar)

Declaration
public uint MemberCount
Field Value
Type Description
UInt32
Remarks

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

Name

Name, freetext indexed

Declaration
public string Name
Field Value
Type Description
String
Remarks

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

PostitTextId

Postit text

Declaration
public int PostitTextId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full SelectionRow 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 SelectionTableInfo 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 SelectionRow 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 SelectionTableInfo 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
Int32
Remarks

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

RightSelectionId

ID of the right selection of a combined selection

Declaration
public int RightSelectionId
Field Value
Type Description
Int32
Remarks

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

SearchCatId

Search category (list)

Declaration
public int SearchCatId
Field Value
Type Description
Int32
Remarks

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

SelectionId

Primary key

Declaration
public int SelectionId
Field Value
Type Description
Int32
Remarks

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

Seltype

0 = static selection, 1 = dynamic selection, 2 = combined selection. See the 'SystemType' field to disnguish between user selections, and Temporary or other system-managed kinds of selection

Declaration
public short Seltype
Field Value
Type Description
Int16
Remarks

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

SoundEx

What the name sounds like, for duplicate detection

Declaration
public string SoundEx
Field Value
Type Description
String
Remarks

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

Source

How did we get this selection? For future integration needs

Declaration
public short Source
Field Value
Type Description
Int16
Remarks

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

SystemType

Selection system type - defines if this selection is one that is managed by the system, and what kind it is

Declaration
public SelectionSystemType SystemType
Field Value
Type Description
SelectionSystemType
Remarks

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

TargetTableNumber

Table number that this is a selection of (contact, sale, appointment, ....)

Declaration
public short TargetTableNumber
Field Value
Type Description
Int16
Remarks

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

TextId

Description text

Declaration
public int TextId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full SelectionRow 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 SelectionTableInfo 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 SelectionRow 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 SelectionTableInfo 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
Int32
Remarks

Please use this class instead of a full SelectionRow 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 SelectionTableInfo 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
Int16
Remarks

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

Visibility

Obsolete, but still maintained denormalization of visiblefor

Declaration
public short Visibility
Field Value
Type Description
Int16
Remarks

Please use this class instead of a full SelectionRow 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 SelectionTableInfo 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)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
SelectionRecordDataExtensions.ToInsert(SelectionRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top