Show / Hide Table of Contents

Class AreaRecordData

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

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

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

Constructors

AreaRecordData()

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

Declaration
public AreaRecordData()
Remarks

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

Fields

AllData

if set to 1, means 'no filtering'

Declaration
public short AllData
Field Value
Type Description
Int16
Remarks

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

AreaId

Primary key

Declaration
public int AreaId
Field Value
Type Description
Int32
Remarks

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

DbType

0 = as in preferences, 1 = Sybase Anywhere, 2 = Ctree; used when generating prototypes

Declaration
public short DbType
Field Value
Type Description
Int16
Remarks

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

EncryptedComm

Use encryption for this Area?

Declaration
public short EncryptedComm
Field Value
Type Description
Int16
Remarks

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

FilterType

Area filtering algorithm - reserved for future use

Declaration
public short FilterType
Field Value
Type Description
Int16
Remarks

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

MaxDataAge

Max age of data when generating db's based on this area

Declaration
public short MaxDataAge
Field Value
Type Description
Int16
Remarks

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

Name

Area name

Declaration
public string Name
Field Value
Type Description
String
Remarks

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

ParentAreaId

Reserved/not implemented: for subareas, travel from satellite, maybe future multi-level satellites

Declaration
public int ParentAreaId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full AreaRow 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 AreaTableInfo 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 AreaRow 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 AreaTableInfo 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 AreaRow 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 AreaTableInfo 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 AreaRow 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 AreaTableInfo 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 AreaRow 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 AreaTableInfo 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 AreaRow 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 AreaTableInfo 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)
AreaRecordDataExtensions.ToInsert(AreaRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top