Class SaleStakeholderTableInfo
Table 'SaleStakeholder': Stakeholders in the sale, very similar to project members
Implements
Inherited Members
Namespace: SuperOfficeCRMData
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 TablesInfo.GetSaleStakeholderInfo().
Fields
DictionaryTableName
Conceptual name of table SaleStakeholder in the database dictionary: SaleStakeholder
Declaration
public const string DictionaryTableName = "SaleStakeholder"
Field Value
| Type | Description |
|---|---|
| string |
Properties
Comment
Field 'comment' in table 'SaleStakeholder': Dictionary type String[2048], .NET type: 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: int
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 |
|---|---|
| TargetedInnerJoinContactTableInfo |
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 |
|---|---|
| int |
PersonId
Field 'person_id' in table 'SaleStakeholder': Dictionary type FK, target: Person, .NET type: int
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 |
|---|---|
| TargetedInnerJoinPersonTableInfo |
Rank
Field 'rank' in table 'SaleStakeholder': Dictionary type UShort, .NET type: short
Rank in list
Declaration
public UInt16FieldInfo Rank { get; }
Property Value
| Type | Description |
|---|---|
| UInt16FieldInfo |
Registered
Field 'registered' in table 'SaleStakeholder': Dictionary type UtcDateTime, .NET type: 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: int
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 |
|---|---|
| TargetedInnerJoinAssociateTableInfo |
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 |
SaleId
Field 'sale_id' in table 'SaleStakeholder': Dictionary type FK, target: Sale, .NET type: int
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 |
|---|---|
| TargetedInnerJoinSaleTableInfo |
SaleStakeholderId
Field 'salestakeholder_id' in table 'SaleStakeholder': Dictionary type PK, .NET type: int
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: int
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 |
|---|---|
| TargetedInnerJoinStakeholderRoleTableInfo |
Updated
Field 'updated' in table 'SaleStakeholder': Dictionary type UtcDateTime, .NET type: 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: int
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 |
|---|---|
| TargetedInnerJoinAssociateTableInfo |
UpdatedCount
Field 'updatedCount' in table 'SaleStakeholder': Dictionary type UShort, .NET type: short
Number of updates made to this record
Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
| Type | Description |
|---|---|
| UInt16FieldInfo |