Show / Hide Table of Contents

Class ErpConnectionRecordData

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

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

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

Constructors

ErpConnectionRecordData()

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

Declaration
public ErpConnectionRecordData()
Remarks

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

Fields

Active

Is this connection currently active

Declaration
public short Active
Field Value
Type Description
short
Remarks

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

AllAccess

Is this connection accessible to everyone? If not, then the ErpConnectionAccess table tells us who can access it

Declaration
public short AllAccess
Field Value
Type Description
short
Remarks

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

ConnectionId

The GUID that uniquely identifies this connection; passed to the Connector in every call

Declaration
public string ConnectionId
Field Value
Type Description
string
Remarks

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

Deleted

If set, then this is a row that has been 'deleted'; we do not physically delete rows to avoid disaster

Declaration
public short Deleted
Field Value
Type Description
short
Remarks

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

DisplayDescription

Tooltip/description shown to user; multi-language support

Declaration
public string DisplayDescription
Field Value
Type Description
string
Remarks

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

DisplayName

Connection name shown to user; multi-language support

Declaration
public string DisplayName
Field Value
Type Description
string
Remarks

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

ErpConnectionId

Primary key

Declaration
public int ErpConnectionId
Field Value
Type Description
int
Remarks

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

ErpConnectorId

The connector that this connection should call

Declaration
public int ErpConnectorId
Field Value
Type Description
int
Remarks

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

MostRecentTimestamp

Datetime, transaction number or other identification of the point in time of the most-recently seen actor in the ERP system

Declaration
public string MostRecentTimestamp
Field Value
Type Description
string
Remarks

Please use this class instead of a full ErpConnectionRow 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 ErpConnectionTableInfo 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 ErpConnectionRow 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 ErpConnectionTableInfo 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 ErpConnectionRow 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 ErpConnectionTableInfo 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 ErpConnectionRow 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 ErpConnectionTableInfo 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 ErpConnectionRow 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 ErpConnectionTableInfo 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 ErpConnectionRow 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 ErpConnectionTableInfo 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)
ErpConnectionRecordDataExtensions.ToInsertAsync(ErpConnectionRecordData, 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