Show / Hide Table of Contents

Class NewsFeedItemCtaTableInfo

Table 'NewsFeedItemCta': List of Calls-to-Action buttons to attach to a given news item. One item may have multiple CTAs (e.g. Approve + Reject).

Inheritance
object
TableInfo
NewsFeedItemCtaTableInfo
Implements
ICloneable
Inherited Members
TableInfo.ToString()
TableInfo.RegisterFields(params FieldInfo[])
TableInfo.FieldInfoFromSoField(SoField)
TableInfo.Clone()
TableInfo.IsSameTable(TableInfo)
TableInfo.FindField(string)
TableInfo.UseNolockIfPossible
TableInfo.HashCheckFields
TableInfo.TableName
TableInfo.DbName
TableInfo.All
TableInfo.this[string]
TableInfo.PrimaryKeyField
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("NewsFeedItemCta")]
public class NewsFeedItemCtaTableInfo : 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.GetNewsFeedItemCtaInfo().

Fields

DictionaryTableName

Conceptual name of table NewsFeedItemCta in the database dictionary: NewsFeedItemCta

Declaration
public const string DictionaryTableName = "NewsFeedItemCta"
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.GetNewsFeedItemCtaInfo().

Properties

CtaFlavor

Field 'CtaFlavor' in table 'NewsFeedItemCta': Dictionary type Enum, .NET type: CtaFlavor

The flavor of the CTA, which determines the style the CTA button renders its type. Info/Warning/Error/Accept/Reject
Declaration
public CtaFlavorFieldInfo CtaFlavor { get; }
Property Value
Type Description
CtaFlavorFieldInfo
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.GetNewsFeedItemCtaInfo().

CtaType

Field 'CtaType' in table 'NewsFeedItemCta': Dictionary type Enum, .NET type: CtaType

The type of the CTA, which determines how the CTA button renders. Primary/Secondary/Link
Declaration
public CtaTypeFieldInfo CtaType { get; }
Property Value
Type Description
CtaTypeFieldInfo
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.GetNewsFeedItemCtaInfo().

Definition

Definition of the table as described in the deployed runtime dictionary

Declaration
public override SoTable Definition { get; }
Property Value
Type Description
SoTable
Overrides
TableInfo.Definition
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.GetNewsFeedItemCtaInfo().

DictionaryTableNumber

Table number for table NewsFeedItemCta 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.GetNewsFeedItemCtaInfo().

Identifier

Field 'Identifier' in table 'NewsFeedItemCta': Dictionary type String[201], .NET type: string

An identifier for the CTA, which will be sent back to the application when the user clicks the CTA button. E.g. 'approve_button/234', 'reject/53fw1', '5235faq143='. Where to route is determined by the ApplicationId on the NewsFeedItem
Declaration
public StringFieldInfo Identifier { get; }
Property Value
Type Description
StringFieldInfo
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.GetNewsFeedItemCtaInfo().

NewsFeedItemCtaId

Field 'newsfeeditemcta_id' in table 'NewsFeedItemCta': Dictionary type PK, .NET type: int

Primary key
Declaration
public Int32FieldInfo NewsFeedItemCtaId { 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.GetNewsFeedItemCtaInfo().

NewsfeeditemId

Field 'newsfeeditem_id' in table 'NewsFeedItemCta': Dictionary type FK, target: NewsFeedItem, .NET type: int

Foreign key to NewsFeedItem that this description 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.GetNewsFeedItemCtaInfo().

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.GetNewsFeedItemCtaInfo().

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.GetNewsFeedItemCtaInfo().

SortOrder

Field 'SortOrder' in table 'NewsFeedItemCta': Dictionary type Int, .NET type: int

Sort order for the CTA buttons. CTAs with lower sort order should be rendered first.
Declaration
public Int32FieldInfo SortOrder { 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.GetNewsFeedItemCtaInfo().

Title

Field 'Title' in table 'NewsFeedItemCta': Dictionary type String[401], .NET type: string

The title of the CTA button. E.g. 'Approve', 'Reject', 'View details'. Multi-language string supported: 'US:"english";NO:"norsk"'.
Declaration
public StringFieldInfo Title { get; }
Property Value
Type Description
StringFieldInfo
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.GetNewsFeedItemCtaInfo().

Methods

IdxNewsfeeditemId(int)

Shortcut method for looking up using the database index NewsfeeditemId, which spans the following fields:

FieldDescription
NewsfeeditemIdForeign key to NewsFeedItem that this description 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.GetNewsFeedItemCtaInfo().

Implements

ICloneable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top