Class OLEFieldTableInfo
Table 'OLEField': Control data table for the OLE DB Provider
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("OLEField")]
public class OLEFieldTableInfo : 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 OLEField in the database dictionary: OLEField
Declaration
public const string DictionaryTableName = "OLEField"
Field Value
Type | Description |
---|---|
String |
Properties
AlgoData
Field 'algoData' in table 'OLEField': Dictionary type UInt, .NET type: UInt32
Source field or other parameter to algorithm in AlgoType.
Declaration
public FieldInfo AlgoData { get; }
Property Value
Type | Description |
---|---|
FieldInfo |
AlgoType
Field 'algoType' in table 'OLEField': Dictionary type UShort, .NET type: Int16
Algorithm - how data is transferred from source field to result. 4 = copy from source buffer. 2 = associate name, 3 = person name
Declaration
public UInt16FieldInfo AlgoType { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Datatype
Field 'datatype' in table 'OLEField': Dictionary type UShort, .NET type: Int16
Data type, same as in dictionary
Declaration
public UInt16FieldInfo Datatype { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
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 OLEField 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 |
---|---|
Int32 |
FieldId
Field 'fieldId' in table 'OLEField': Dictionary type FieldId, .NET type: Int32
SODBIF field ID (including table!)
Declaration
public Int32FieldInfo FieldId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
LeftOuterJoin_ReporterListDef_OleFieldKey
Generated left outer join from the primary key OLEFieldId on this table, to ReporterListDef.OleFieldKey.
Declaration
public TargetedLeftOuterJoin<ReporterListDefTableInfo> LeftOuterJoin_ReporterListDef_OleFieldKey { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<ReporterListDefTableInfo> |
LeftOuterJoin_ReporterListDef_OleFieldName
Generated left outer join from the primary key OLEFieldId on this table, to ReporterListDef.OleFieldName.
Declaration
public TargetedLeftOuterJoin<ReporterListDefTableInfo> LeftOuterJoin_ReporterListDef_OleFieldName { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<ReporterListDefTableInfo> |
Length
Field 'length' in table 'OLEField': Dictionary type UShort, .NET type: Int16
Size of data in result buffer
Declaration
public UInt16FieldInfo Length { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
OLEFieldId
Field 'OLEField_id' in table 'OLEField': Dictionary type PK, .NET type: Int32
Primary key
Declaration
public Int32FieldInfo OLEFieldId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
OLEViewId
Field 'OLEView_id' in table 'OLEField': Dictionary type FK, .NET type: Int32
Owner subject
Declaration
public Int32FieldInfo OLEViewId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
OLEViewId_InnerJoin_OLEView
Generated join from the foreign key OLEViewId in this table, to its target table OLEViewTableInfo.
Declaration
public TargetedInnerJoin<OLEViewTableInfo> OLEViewId_InnerJoin_OLEView { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<OLEViewTableInfo> |
Predefined
Field 'predefined' in table 'OLEField': Dictionary type UShort, .NET type: Int16
1 = predefined subject, do not change
Declaration
public UInt16FieldInfo Predefined { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Registered
Field 'registered' in table 'OLEField': 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 'OLEField': Dictionary type FK, .NET type: 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 |
Searchable
Field 'searchable' in table 'OLEField': Dictionary type UShort, .NET type: Int16
Is the field searchable (and shown as such in the reporter)
Declaration
public UInt16FieldInfo Searchable { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Updated
Field 'updated' in table 'OLEField': 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 'OLEField': Dictionary type FK, .NET type: 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 'OLEField': Dictionary type UShort, .NET type: Int16
Number of updates made to this record
Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Methods
IdxOLEViewId(Int32)
Shortcut method for looking up using the database index OLEViewId, which spans the following fields:
Field | Description |
---|---|
OLEViewId | Owner subject |
Declaration
public Restriction IdxOLEViewId(int oLEViewId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | oLEViewId |
Returns
Type | Description |
---|---|
Restriction |