Class PublishTableInfo
Table 'Publish': Publishing system for external users
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("Publish")]
public class PublishTableInfo : 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 Publish in the database dictionary: Publish
Declaration
public const string DictionaryTableName = "Publish"
Field Value
Type | Description |
---|---|
System.String |
Properties
Definition
Definition of the table as described in the deployed runtime dictionary
Declaration
public override SoTable Definition { get; }
Property Value
Type | Description |
---|---|
SoTable |
Overrides
DictionaryTableNumber
Table number for table Publish 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 |
EncryptedCheck
Field 'encryptedCheck' in table 'Publish': Dictionary type String[255], .NET type: System.String
Encrypted data, to detect unwanted changes
Declaration
public StringFieldInfo EncryptedCheck { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
EventDate
Field 'eventDate' in table 'Publish': Dictionary type DateTime, .NET type: System.DateTime
The date an event actually happens; you may want to have some special processing around that date
Declaration
public DateTimeFieldInfo EventDate { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
PublishFrom
Field 'publishFrom' in table 'Publish': Dictionary type DateTime, .NET type: System.DateTime
Publication valid from (inclusive)
Declaration
public DateTimeFieldInfo PublishFrom { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
PublishId
Field 'Publish_id' in table 'Publish': Dictionary type PK, .NET type: System.Int32
Primary key
Declaration
public Int32FieldInfo PublishId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
PublishTo
Field 'publishTo' in table 'Publish': Dictionary type DateTime, .NET type: System.DateTime
Publication valid to (inclusive)
Declaration
public DateTimeFieldInfo PublishTo { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
PublishType
Field 'publishType' in table 'Publish': Dictionary type Enum, .NET type: PublishType
Type of publishing action, 0 = Unknown, 1 = to external persons
Declaration
public PublishTypeFieldInfo PublishType { get; }
Property Value
Type | Description |
---|---|
PublishTypeFieldInfo |
RecordId
Field 'recordId' in table 'Publish': Dictionary type RecordId, .NET type: System.Int32
Record number that has been published
Declaration
public Int32FieldInfo RecordId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Registered
Field 'registered' in table 'Publish': 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 'Publish': Dictionary type FK, target: Associate, .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
public static SoTable RuntimeDefinition { get; }
Property Value
Type | Description |
---|---|
SoTable |
TableNumber
Field 'tableNumber' in table 'Publish': Dictionary type TableNumber, .NET type: System.Int16
Table number this record refers to
Declaration
public UInt16FieldInfo TableNumber { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Updated
Field 'updated' in table 'Publish': 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 'Publish': Dictionary type FK, target: Associate, .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 'Publish': Dictionary type UShort, .NET type: System.Int16
Number of updates made to this record
Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Methods
IdxTableNumber(Int16)
Shortcut method for looking up using the database index TableNumber, which spans the following fields:
Field | Description |
---|---|
TableNumber | Table number this record refers to |
Declaration
public Restriction IdxTableNumber(short tableNumber)
Parameters
Type | Name | Description |
---|---|---|
System.Int16 | tableNumber |
Returns
Type | Description |
---|---|
Restriction |
IdxTableNumberRecordId(Int16, Int32)
Shortcut method for looking up using the database index TableNumberRecordId, which spans the following fields:
Field | Description |
---|---|
TableNumber | Table number this record refers to |
RecordId | Record number that has been published |
Declaration
public Restriction IdxTableNumberRecordId(short tableNumber, int recordId)
Parameters
Type | Name | Description |
---|---|---|
System.Int16 | tableNumber | |
System.Int32 | recordId |
Returns
Type | Description |
---|---|
Restriction |