Show / Hide Table of Contents

Class CompanyRecordData

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

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

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

Constructors

CompanyRecordData()

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

Declaration
public CompanyRecordData()
Remarks

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

Fields

CompanyId

Primary key

Declaration
public int CompanyId
Field Value
Type Description
int
Remarks

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

DbContactId

ID of contact who owns this database

Declaration
public int DbContactId
Field Value
Type Description
int
Remarks

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

DbContactName

Name of contact who owns this database (<> license owner for satellite etc)

Declaration
public string DbContactName
Field Value
Type Description
string
Remarks

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

DbDepartmentName

Department of contact who owns this database

Declaration
public string DbDepartmentName
Field Value
Type Description
string
Remarks

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

ExtraInfo

Spare field

Declaration
public string ExtraInfo
Field Value
Type Description
string
Remarks

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

OwnerContactId

ID of contact who owns the license

Declaration
public int OwnerContactId
Field Value
Type Description
int
Remarks

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

OwnerContactName

Name of contact who owns the license - exact match required

Declaration
public string OwnerContactName
Field Value
Type Description
string
Remarks

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

OwnerDepartmentName

Department of contact who owns the license - exact match required

Declaration
public string OwnerDepartmentName
Field Value
Type Description
string
Remarks

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

Revision

Database revision, must match dictionary

Declaration
public short Revision
Field Value
Type Description
short
Remarks

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

SerialNo

Serial number of license; this is THE master item... which will be checked against SuperOffice AS license database by SoAdmin!

Declaration
public string SerialNo
Field Value
Type Description
string
Remarks

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

Version

Database version, must match dictionary (conceptualdatabase)

Declaration
public int Version
Field Value
Type Description
int
Remarks

Please use this class instead of a full CompanyRow 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 CompanyTableInfo 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)
CompanyRecordDataExtensions.ToInsertAsync(CompanyRecordData, 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