Class NewsFeedItemRecipientTableInfo
Table 'NewsFeedItemRecipient': Recipients of the news feed item. One news feed item may be sent to multiple recipients (users).
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("NewsFeedItemRecipient")]
public class NewsFeedItemRecipientTableInfo : 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 TablesInfo.GetNewsFeedItemRecipientInfo().
Fields
DictionaryTableName
Conceptual name of table NewsFeedItemRecipient in the database dictionary: NewsFeedItemRecipient
Declaration
public const string DictionaryTableName = "NewsFeedItemRecipient"
Field Value
| Type | Description |
|---|---|
| string |
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 TablesInfo.GetNewsFeedItemRecipientInfo().
Properties
AssociateId
Field 'associate_id' in table 'NewsFeedItemRecipient': Dictionary type FK, target: Associate, .NET type: int
Foreign key to user that should receive this news item.Declaration
public Int32FieldInfo AssociateId { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
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 TablesInfo.GetNewsFeedItemRecipientInfo().
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> |
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 TablesInfo.GetNewsFeedItemRecipientInfo().
Definition
Definition of the table as described in the deployed runtime dictionary
Declaration
public override SoTable Definition { get; }
Property Value
| Type | Description |
|---|---|
| SoTable |
Overrides
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 TablesInfo.GetNewsFeedItemRecipientInfo().
DictionaryTableNumber
Table number for table NewsFeedItemRecipient 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 |
|---|---|
| int |
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 TablesInfo.GetNewsFeedItemRecipientInfo().
IsRead
Field 'IsRead' in table 'NewsFeedItemRecipient': Dictionary type Bool, .NET type: short
Set to true when the recipient user has read the news feed item.Declaration
public UInt16FieldInfo IsRead { get; }
Property Value
| Type | Description |
|---|---|
| UInt16FieldInfo |
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 TablesInfo.GetNewsFeedItemRecipientInfo().
NewsFeedItemRecipientId
Field 'newsfeeditemrecipient_id' in table 'NewsFeedItemRecipient': Dictionary type PK, .NET type: int
Primary keyDeclaration
public Int32FieldInfo NewsFeedItemRecipientId { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
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 TablesInfo.GetNewsFeedItemRecipientInfo().
NewsfeeditemId
Field 'newsfeeditem_id' in table 'NewsFeedItemRecipient': Dictionary type FK, target: NewsFeedItem, .NET type: int
Foreign key to NewsFeedItem that this recipient belongs to.Declaration
public Int32FieldInfo NewsfeeditemId { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
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 TablesInfo.GetNewsFeedItemRecipientInfo().
NewsfeeditemId_InnerJoin_NewsFeedItem
Generated join from the foreign key NewsfeeditemId in this table, to its target table NewsFeedItemTableInfo.
Declaration
public TargetedInnerJoin<NewsFeedItemTableInfo> NewsfeeditemId_InnerJoin_NewsFeedItem { get; }
Property Value
| Type | Description |
|---|---|
| TargetedInnerJoin<NewsFeedItemTableInfo> |
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 TablesInfo.GetNewsFeedItemRecipientInfo().
ReadAt
Field 'ReadAt' in table 'NewsFeedItemRecipient': Dictionary type UtcDateTime, .NET type: DateTime
When the recipient user read the news feed item (UTC)Declaration
public DateTimeFieldInfo ReadAt { get; }
Property Value
| Type | Description |
|---|---|
| DateTimeFieldInfo |
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 TablesInfo.GetNewsFeedItemRecipientInfo().
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 |
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 TablesInfo.GetNewsFeedItemRecipientInfo().
Methods
IdxNewsfeeditemId(int)
Shortcut method for looking up using the database index NewsfeeditemId, which spans the following fields:
| Field | Description |
|---|---|
| NewsfeeditemId | Foreign key to NewsFeedItem that this recipient belongs to. |
Declaration
public Restriction IdxNewsfeeditemId(int newsfeeditemId)
Parameters
| Type | Name | Description |
|---|---|---|
| int | newsfeeditemId |
Returns
| Type | Description |
|---|---|
| Restriction |
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 TablesInfo.GetNewsFeedItemRecipientInfo().