Show / Hide Table of Contents

Class PushNotificationServiceRecordData

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

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

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

Constructors

PushNotificationServiceRecordData()

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

Declaration
public PushNotificationServiceRecordData()
Remarks

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

Fields

AssociateId

To whom does this handle belong

Declaration
public int AssociateId
Field Value
Type Description
int
Remarks

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

DeviceDisplayName

Userfriendly name for device. Ex: 'My iPhone 5S'

Declaration
public string DeviceDisplayName
Field Value
Type Description
string
Remarks

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

DeviceIdentifier

Unique device identifier

Declaration
public string DeviceIdentifier
Field Value
Type Description
string
Remarks

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

DevicePlatform

Device platform. Apple, Google, Microsoft, etc.

Declaration
public NotificationPlatform DevicePlatform
Field Value
Type Description
NotificationPlatform
Remarks

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

Language

The language to send translated messages in

Declaration
public string Language
Field Value
Type Description
string
Remarks

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

LastNotificationDate

When was a notification last sent to this device

Declaration
public DateTime LastNotificationDate
Field Value
Type Description
DateTime
Remarks

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

OSVersion

The operating system version this device is using

Declaration
public string OSVersion
Field Value
Type Description
string
Remarks

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

PNSHandle

The platform specific handle needed for pushing messages directly to this device

Declaration
public string PNSHandle
Field Value
Type Description
string
Remarks

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

PNSHandleUpdateDate

When was the PNSHandle for this device last updated

Declaration
public DateTime PNSHandleUpdateDate
Field Value
Type Description
DateTime
Remarks

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

PocketVersion

The version of Pocket CRM this device is using

Declaration
public string PocketVersion
Field Value
Type Description
string
Remarks

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

PushNotificationServiceId

Primary key

Declaration
public int PushNotificationServiceId
Field Value
Type Description
int
Remarks

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

Tags

Comma separated list of notification types this device should or should not receive notifications about. Ex: 'invitations=0,meetings=1

Declaration
public string Tags
Field Value
Type Description
string
Remarks

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

TimeZoneId

The timezone to show for dates in messages

Declaration
public int TimeZoneId
Field Value
Type Description
int
Remarks

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

TotalNotificationCount

How many notifications have been sent to this device

Declaration
public int TotalNotificationCount
Field Value
Type Description
int
Remarks

Please use this class instead of a full PushNotificationServiceRow 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 PushNotificationServiceTableInfo 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 PushNotificationServiceRow 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 PushNotificationServiceTableInfo 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 PushNotificationServiceRow 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 PushNotificationServiceTableInfo 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 PushNotificationServiceRow 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 PushNotificationServiceTableInfo 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)
PushNotificationServiceRecordDataExtensions.ToInsertAsync(PushNotificationServiceRecordData, 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