Show / Hide Table of Contents

Class AssociateRecordData

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

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

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

Constructors

AssociateRecordData()

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

Declaration
public AssociateRecordData()
Remarks

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

Fields

AssociateId

Primary key

Declaration
public int AssociateId
Field Value
Type Description
int
Remarks

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

Checklistlimit

Diary checklist scan limit

Declaration
public DateTime Checklistlimit
Field Value
Type Description
DateTime
Remarks

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

Deleted

1 = the user is retired and should have no rights, not appear in lists, etc.

Declaration
public short Deleted
Field Value
Type Description
short
Remarks

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

EjUserId

ID of the ej user record corresponding to this associate; 0 for associates that are not ej users

Declaration
public int EjUserId
Field Value
Type Description
int
Remarks

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

EncryptedCheck

Encrypted hash checksum

Declaration
public string EncryptedCheck
Field Value
Type Description
string
Remarks

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

GroupIdx

Primary group membership, see UserGroupLink for secondary memberships

Declaration
public int GroupIdx
Field Value
Type Description
int
Remarks

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

IsLocation

For resources only: 1 if this resource represents a location

Declaration
public short IsLocation
Field Value
Type Description
short
Remarks

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

Lastlogin

Last login date

Declaration
public DateTime Lastlogin
Field Value
Type Description
DateTime
Remarks

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

Lastlogout

Last logout date

Declaration
public DateTime Lastlogout
Field Value
Type Description
DateTime
Remarks

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

LocationAddress

Address of location, if this is a resource that is a location

Declaration
public string LocationAddress
Field Value
Type Description
string
Remarks

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

Name

Initials, also login name, possibly database user name

Declaration
public string Name
Field Value
Type Description
string
Remarks

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

PersonId

Owning person record

Declaration
public int PersonId
Field Value
Type Description
int
Remarks

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

Rank

Rank order

Declaration
public short Rank
Field Value
Type Description
short
Remarks

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

Tooltip

Tooltip or other description

Declaration
public string Tooltip
Field Value
Type Description
string
Remarks

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

Type

Associate type

Declaration
public AssociateType Type
Field Value
Type Description
AssociateType
Remarks

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

TzLocationId

Default timezone location for this associate

Declaration
public int TzLocationId
Field Value
Type Description
int
Remarks

Please use this class instead of a full AssociateRow 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 AssociateTableInfo 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 AssociateRow 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 AssociateTableInfo 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 AssociateRow 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 AssociateTableInfo 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

Declaration
public short UpdatedCount
Field Value
Type Description
short
Remarks

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

UserFlags

user-specific GUI flags

Declaration
public string UserFlags
Field Value
Type Description
string
Remarks

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

UserName

Associate user name

Declaration
public string UserName
Field Value
Type Description
string
Remarks

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

WaitingForApproval

0 = Approved (default). 1 = Associate/User must be approved by an administrator. User cannot log in while waiting, but can be assigned licenses. Used in Online.

Declaration
public short WaitingForApproval
Field Value
Type Description
short
Remarks

Please use this class instead of a full AssociateRow 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 AssociateTableInfo 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)
AssociateRecordDataExtensions.ToInsertAsync(AssociateRecordData, 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