Show / Hide Table of Contents

Class PhoneFormatRecordData

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

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

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

Constructors

PhoneFormatRecordData()

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

Declaration
public PhoneFormatRecordData()
Remarks

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

Fields

AreaCodeLength

Length of area code (can be interval)

Declaration
public string AreaCodeLength
Field Value
Type Description
string
Remarks

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

CountryId

Country this format record is valid for

Declaration
public int CountryId
Field Value
Type Description
int
Remarks

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

Description

Description of this format

Declaration
public string Description
Field Value
Type Description
string
Remarks

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

DontFormat

If 1, do not apply any formatting to this number

Declaration
public short DontFormat
Field Value
Type Description
short
Remarks

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

IsActive

Is this format record active (handy for experimenting)

Declaration
public short IsActive
Field Value
Type Description
short
Remarks

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

IsBuiltIn

Does this row come from SuperOffice priming data

Declaration
public short IsBuiltIn
Field Value
Type Description
short
Remarks

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

LocalLength

Length of local part of telephone number (can be interval)

Declaration
public string LocalLength
Field Value
Type Description
string
Remarks

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

Mask

Formatting mask to be applied

Declaration
public string Mask
Field Value
Type Description
string
Remarks

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

PhoneFormatId

Primary key

Declaration
public int PhoneFormatId
Field Value
Type Description
int
Remarks

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

Prefix

Prefix that triggers this format

Declaration
public string Prefix
Field Value
Type Description
string
Remarks

Please use this class instead of a full PhoneFormatRow 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 PhoneFormatTableInfo 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 PhoneFormatRow 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 PhoneFormatTableInfo 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 PhoneFormatRow 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 PhoneFormatTableInfo 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 PhoneFormatRow 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 PhoneFormatTableInfo 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 PhoneFormatRow 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 PhoneFormatTableInfo 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 PhoneFormatRow 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 PhoneFormatTableInfo 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)
PhoneFormatRecordDataExtensions.ToInsertAsync(PhoneFormatRecordData, 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