Class PushNotificationServiceTableInfo
Table 'PushNotificationService': Used for storing handles to user devices that should receive push notifications
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("PushNotificationService")]
public class PushNotificationServiceTableInfo : TableInfo, ICloneable
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling
Fields
DictionaryTableName
Conceptual name of table PushNotificationService in the database dictionary: PushNotificationService
Declaration
public const string DictionaryTableName = "PushNotificationService"
Field Value
Type | Description |
---|---|
System.String |
Properties
AssociateId
Field 'AssociateId' in table 'PushNotificationService': Dictionary type FK, .NET type: System.Int32
To whom does this handle belong
Declaration
public Int32FieldInfo AssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
AssociateId_InnerJoin_Associate
Generated join from the foreign key AssociateId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> AssociateId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
Definition
Definition of the table as described in the deployed runtime dictionary
Declaration
public override SoTable Definition { get; }
Property Value
Type | Description |
---|---|
SoTable |
Overrides
DeviceDisplayName
Field 'DeviceDisplayName' in table 'PushNotificationService': Dictionary type String[257], .NET type: System.String
Userfriendly name for device. Ex: 'My iPhone 5S'
Declaration
public StringFieldInfo DeviceDisplayName { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
DeviceIdentifier
Field 'DeviceIdentifier' in table 'PushNotificationService': Dictionary type String[257], .NET type: System.String
Unique device identifier
Declaration
public StringFieldInfo DeviceIdentifier { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
DevicePlatform
Field 'DevicePlatform' in table 'PushNotificationService': Dictionary type Enum, .NET type: NotificationPlatform
Device platform. Apple, Google, Microsoft, etc.
Declaration
public NotificationPlatformFieldInfo DevicePlatform { get; }
Property Value
Type | Description |
---|---|
NotificationPlatformFieldInfo |
DictionaryTableNumber
Table number for table PushNotificationService in the database dictionary; potentially changes between databases, but always the same over the lifetime of any single database
Declaration
public int DictionaryTableNumber { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Language
Field 'Language' in table 'PushNotificationService': Dictionary type String[257], .NET type: System.String
The language to send translated messages in
Declaration
public StringFieldInfo Language { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
LastNotificationDate
Field 'LastNotificationDate' in table 'PushNotificationService': Dictionary type DateTime, .NET type: System.DateTime
When was a notification last sent to this device
Declaration
public DateTimeFieldInfo LastNotificationDate { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
OSVersion
Field 'OSVersion' in table 'PushNotificationService': Dictionary type String[257], .NET type: System.String
The operating system version this device is using
Declaration
public StringFieldInfo OSVersion { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
PNSHandle
Field 'PNSHandle' in table 'PushNotificationService': Dictionary type String[1025], .NET type: System.String
The platform specific handle needed for pushing messages directly to this device
Declaration
public StringFieldInfo PNSHandle { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
PNSHandleUpdateDate
Field 'PNSHandleUpdateDate' in table 'PushNotificationService': Dictionary type DateTime, .NET type: System.DateTime
When was the PNSHandle for this device last updated
Declaration
public DateTimeFieldInfo PNSHandleUpdateDate { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
PocketVersion
Field 'PocketVersion' in table 'PushNotificationService': Dictionary type String[257], .NET type: System.String
The version of Pocket CRM this device is using
Declaration
public StringFieldInfo PocketVersion { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
PushNotificationServiceId
Field 'pushnotificationservice_id' in table 'PushNotificationService': Dictionary type PK, .NET type: System.Int32
Primary key
Declaration
public Int32FieldInfo PushNotificationServiceId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Registered
Field 'registered' in table 'PushNotificationService': Dictionary type UtcDateTime, .NET type: System.DateTime
Registered when
Declaration
public DateTimeFieldInfo Registered { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
RegisteredAssociateId
Field 'registered_associate_id' in table 'PushNotificationService': Dictionary type FK, .NET type: System.Int32
Registered by whom
Declaration
public Int32FieldInfo RegisteredAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
RegisteredAssociateId_InnerJoin_Associate
Generated join from the foreign key RegisteredAssociateId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> RegisteredAssociateId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
RuntimeDefinition
Definition of the table as described in the deployed runtime dictionary
Declaration
[Obsolete("Use instance property Definition or static member DictionaryTableNumber", true)]
public static SoTable RuntimeDefinition { get; }
Property Value
Type | Description |
---|---|
SoTable |
Tags
Field 'Tags' in table 'PushNotificationService': Dictionary type String[3073], .NET type: System.String
Comma separated list of notification types this device should or should not receive notifications about. Ex: 'invitations=0,meetings=1
Declaration
public StringFieldInfo Tags { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
TimeZoneId
Field 'TimeZoneId' in table 'PushNotificationService': Dictionary type Int, .NET type: System.Int32
The timezone to show for dates in messages
Declaration
public Int32FieldInfo TimeZoneId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
TotalNotificationCount
Field 'TotalNotificationCount' in table 'PushNotificationService': Dictionary type Int, .NET type: System.Int32
How many notifications have been sent to this device
Declaration
public Int32FieldInfo TotalNotificationCount { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Updated
Field 'updated' in table 'PushNotificationService': Dictionary type UtcDateTime, .NET type: System.DateTime
Last updated when
Declaration
public DateTimeFieldInfo Updated { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
UpdatedAssociateId
Field 'updated_associate_id' in table 'PushNotificationService': Dictionary type FK, .NET type: System.Int32
Last updated by whom
Declaration
public Int32FieldInfo UpdatedAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
UpdatedAssociateId_InnerJoin_Associate
Generated join from the foreign key UpdatedAssociateId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> UpdatedAssociateId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
UpdatedCount
Field 'updatedCount' in table 'PushNotificationService': Dictionary type UShort, .NET type: System.Int16
Number of updates made to this record
Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |