Class PhoneRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the phone table.
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class PhoneRecordData : Object
Remarks
Please use this class instead of a full PhoneRow 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 PhoneTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
PhoneRecordData()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the phone table.
Declaration
public PhoneRecordData()
Remarks
Please use this class instead of a full PhoneRow 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 PhoneTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Fields
Description
Visible description
Declaration
public string Description
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full PhoneRow 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 PhoneTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
OwnerId
Record id of owner: Contact or Person
Declaration
public int OwnerId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full PhoneRow 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 PhoneTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Phone
Actual phone number as enterd by the user
Declaration
public string Phone
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full PhoneRow 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 PhoneTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
PhoneId
Primary key
Declaration
public int PhoneId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full PhoneRow 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 PhoneTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
PtypeIdx
Bit mask, combines phone type (EPhoneType) and owner type (EOwnerType)
Declaration
public PhoneType PtypeIdx
Field Value
Type | Description |
---|---|
PhoneType |
Remarks
Please use this class instead of a full PhoneRow 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 PhoneTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Rank
Sort order
Declaration
public short Rank
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full PhoneRow 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 PhoneTableInfo 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 PhoneRow 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 PhoneTableInfo 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 PhoneRow 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 PhoneTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
SearchPhoneNumber
Stripped phone number for searching, takes over for search_phone
Declaration
public string SearchPhoneNumber
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full PhoneRow 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 PhoneTableInfo 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 PhoneRow 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 PhoneTableInfo 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 PhoneRow 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 PhoneTableInfo 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 PhoneRow 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 PhoneTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
ValidFrom
Valid from date for this record
Declaration
public DateTime ValidFrom
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full PhoneRow 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 PhoneTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
ValidTo
Valid to date for this record
Declaration
public DateTime ValidTo
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full PhoneRow 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 PhoneTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.