Class ProjectTypeStatusLinkTableInfo
Table 'ProjectTypeStatusLink': Many-many link table between project type and status, similar to sale type-stage link; and an anchor point for guide items
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("ProjectTypeStatusLink")]
public class ProjectTypeStatusLinkTableInfo : 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 ProjectTypeStatusLink in the database dictionary: ProjectTypeStatusLink
Declaration
public const string DictionaryTableName = "ProjectTypeStatusLink"
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
Deleted
Field 'deleted' in table 'ProjectTypeStatusLink': Dictionary type UShort, .NET type: System.Int16
0 -> record is active 1 -> record is 'deleted' and should not be shown in lists
Declaration
public UInt16FieldInfo Deleted { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
DictionaryTableNumber
Table number for table ProjectTypeStatusLink 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 |
LeftOuterJoin_SuggestedAppointment_ProjectTypeStatusLinkId
Generated left outer join from the primary key ProjectTypeStatusLinkId on this table, to SuggestedAppointment.ProjectTypeStatusLinkId.
Declaration
public TargetedLeftOuterJoin<SuggestedAppointmentTableInfo> LeftOuterJoin_SuggestedAppointment_ProjectTypeStatusLinkId { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<SuggestedAppointmentTableInfo> |
LeftOuterJoin_SuggestedDocument_ProjectTypeStatusLinkId
Generated left outer join from the primary key ProjectTypeStatusLinkId on this table, to SuggestedDocument.ProjectTypeStatusLinkId.
Declaration
public TargetedLeftOuterJoin<SuggestedDocumentTableInfo> LeftOuterJoin_SuggestedDocument_ProjectTypeStatusLinkId { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<SuggestedDocumentTableInfo> |
ProjectTypeStatusLinkId
Field 'ProjectTypeStatusLink_id' in table 'ProjectTypeStatusLink': Dictionary type PK, .NET type: System.Int32
Primary key
Declaration
public Int32FieldInfo ProjectTypeStatusLinkId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
ProjStatusId
Field 'projStatus_id' in table 'ProjectTypeStatusLink': Dictionary type FK, .NET type: System.Int32
Link to project status
Declaration
public Int32FieldInfo ProjStatusId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
ProjStatusId_InnerJoin_ProjStatus
Generated join from the foreign key ProjStatusId in this table, to its target table ProjStatusTableInfo.
Declaration
public TargetedInnerJoin<ProjStatusTableInfo> ProjStatusId_InnerJoin_ProjStatus { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<ProjStatusTableInfo> |
ProjTypeId
Field 'projType_id' in table 'ProjectTypeStatusLink': Dictionary type FK, .NET type: System.Int32
Link to project type
Declaration
public Int32FieldInfo ProjTypeId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
ProjTypeId_InnerJoin_ProjType
Generated join from the foreign key ProjTypeId in this table, to its target table ProjTypeTableInfo.
Declaration
public TargetedInnerJoin<ProjTypeTableInfo> ProjTypeId_InnerJoin_ProjType { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<ProjTypeTableInfo> |
Rank
Field 'rank' in table 'ProjectTypeStatusLink': Dictionary type UShort, .NET type: System.Int16
Rank order
Declaration
public UInt16FieldInfo Rank { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Registered
Field 'registered' in table 'ProjectTypeStatusLink': 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 'ProjectTypeStatusLink': Dictionary type FK, .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
[Obsolete("Use instance property Definition or static member DictionaryTableNumber", true)]
public static SoTable RuntimeDefinition { get; }
Property Value
Type | Description |
---|---|
SoTable |
Updated
Field 'updated' in table 'ProjectTypeStatusLink': 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 'ProjectTypeStatusLink': Dictionary type FK, .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 'ProjectTypeStatusLink': 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
IdxProjTypeId(Int32)
Shortcut method for looking up using the database index ProjTypeId, which spans the following fields:
Field | Description |
---|---|
ProjTypeId | Link to project type |
Declaration
public Restriction IdxProjTypeId(int projTypeId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | projTypeId |
Returns
Type | Description |
---|---|
Restriction |