Class SaleStakeholderTableInfo
Table 'SaleStakeholder': Stakeholders in the sale, very similar to project members
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("SaleStakeholder")]
public class SaleStakeholderTableInfo : 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 SaleStakeholder in the database dictionary: SaleStakeholder
Declaration
public const string DictionaryTableName = "SaleStakeholder"
Field Value
Type | Description |
---|---|
System.String |
Properties
Comment
Field 'comment' in table 'SaleStakeholder': Dictionary type String[2048], .NET type: System.String
Optional comment
Declaration
public StringFieldInfo Comment { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
ContactId
Field 'contact_id' in table 'SaleStakeholder': Dictionary type FK, target: Contact, .NET type: System.Int32
Contact ID of person or contact who is the sale stakeholder
Declaration
public Int32FieldInfo ContactId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
ContactId_InnerJoin_Contact
Generated join from the foreign key ContactId in this table, to its target table ContactTableInfo.
Declaration
public TargetedInnerJoin<ContactTableInfo> ContactId_InnerJoin_Contact { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<ContactTableInfo> |
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 SaleStakeholder 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 |
PersonId
Field 'person_id' in table 'SaleStakeholder': Dictionary type FK, target: Person, .NET type: System.Int32
Person ID of person who is the sale stakeholder, or 0 if it's just a contact
Declaration
public Int32FieldInfo PersonId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
PersonId_InnerJoin_Person
Generated join from the foreign key PersonId in this table, to its target table PersonTableInfo.
Declaration
public TargetedInnerJoin<PersonTableInfo> PersonId_InnerJoin_Person { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<PersonTableInfo> |
Rank
Field 'rank' in table 'SaleStakeholder': Dictionary type UShort, .NET type: System.Int16
Rank in list
Declaration
public UInt16FieldInfo Rank { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Registered
Field 'registered' in table 'SaleStakeholder': 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 'SaleStakeholder': 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 |
SaleId
Field 'sale_id' in table 'SaleStakeholder': Dictionary type FK, target: Sale, .NET type: System.Int32
Parent sale
Declaration
public Int32FieldInfo SaleId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
SaleId_InnerJoin_Sale
Generated join from the foreign key SaleId in this table, to its target table SaleTableInfo.
Declaration
public TargetedInnerJoin<SaleTableInfo> SaleId_InnerJoin_Sale { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<SaleTableInfo> |
SaleStakeholderId
Field 'salestakeholder_id' in table 'SaleStakeholder': Dictionary type PK, .NET type: System.Int32
Primary key
Declaration
public Int32FieldInfo SaleStakeholderId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
StakeholderRoleId
Field 'stakeholderrole_id' in table 'SaleStakeholder': Dictionary type FK, target: StakeholderRole, .NET type: System.Int32
Member type link
Declaration
public Int32FieldInfo StakeholderRoleId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
StakeholderRoleId_InnerJoin_StakeholderRole
Generated join from the foreign key StakeholderRoleId in this table, to its target table StakeholderRoleTableInfo.
Declaration
public TargetedInnerJoin<StakeholderRoleTableInfo> StakeholderRoleId_InnerJoin_StakeholderRole { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<StakeholderRoleTableInfo> |
Updated
Field 'updated' in table 'SaleStakeholder': 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 'SaleStakeholder': 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 'SaleStakeholder': Dictionary type UShort, .NET type: System.Int16
Number of updates made to this record
Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |