Show / Hide Table of Contents

Class AudienceVisibilityTableInfo

Table 'AudienceVisibility': How projects (or whatever) should be made visible in audience

Inheritance
Object
TableInfo
AudienceVisibilityTableInfo
Implements
ICloneable
Inherited Members
TableInfo.ToString()
TableInfo.RegisterFields(FieldInfo[])
TableInfo.FieldInfoFromSoField(SoField)
TableInfo.Clone()
TableInfo.IsSameTable(TableInfo)
TableInfo.FindField(String)
TableInfo.ProtAll
TableInfo.HashCheckFields
TableInfo.TableName
TableInfo.DbName
TableInfo.IsDictionaryTable
TableInfo.All
TableInfo.Item[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("AudienceVisibility")]
public class AudienceVisibilityTableInfo : 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 AudienceVisibility in the database dictionary: AudienceVisibility

Declaration
public const string DictionaryTableName = "AudienceVisibility"
Field Value
Type Description
String

Properties

AudienceVisibilityId

Field 'AudienceVisibility_id' in table 'AudienceVisibility': Dictionary type PK, .NET type: Int32

Primary key

Declaration
public Int32FieldInfo AudienceVisibilityId { get; }
Property Value
Type Description
Int32FieldInfo

Comment

Field 'comment' in table 'AudienceVisibility': Dictionary type String[255], .NET type: String

A possible user comment

Declaration
public StringFieldInfo Comment { get; }
Property Value
Type Description
StringFieldInfo

ConstraintEnabled

Field 'constraintEnabled' in table 'AudienceVisibility': Dictionary type Bool, .NET type: Int16

If 1, this visibility constraint is enabled; otherwise it is there for the record, but not active

Declaration
public UInt16FieldInfo ConstraintEnabled { get; }
Property Value
Type Description
UInt16FieldInfo

ControllingRecord

Field 'controllingRecord' in table 'AudienceVisibility': Dictionary type RecordId, .NET type: Int32

The record in the controlling table that defines visibility of the source record

Declaration
public Int32FieldInfo ControllingRecord { get; }
Property Value
Type Description
Int32FieldInfo

ControllingTable

Field 'controllingTable' in table 'AudienceVisibility': Dictionary type TableNumber, .NET type: Int16

The table that controls visibility of the source record

Declaration
public UInt16FieldInfo ControllingTable { 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
TableInfo.Definition

DictionaryTableNumber

Table number for table AudienceVisibility 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

ExtraInfo

Field 'extraInfo' in table 'AudienceVisibility': Dictionary type Id, .NET type: Int32

Extra info value

Declaration
public Int32FieldInfo ExtraInfo { get; }
Property Value
Type Description
Int32FieldInfo

Registered

Field 'registered' in table 'AudienceVisibility': 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 'AudienceVisibility': 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

SourceRecord

Field 'sourceRecord' in table 'AudienceVisibility': Dictionary type RecordId, .NET type: Int32

Record ID in source table. This is the record to be made visible

Declaration
public Int32FieldInfo SourceRecord { get; }
Property Value
Type Description
Int32FieldInfo

SourceTable

Field 'sourceTable' in table 'AudienceVisibility': Dictionary type TableNumber, .NET type: Int16

Source table, only table 'project' valid in Audience for Six

Declaration
public UInt16FieldInfo SourceTable { get; }
Property Value
Type Description
UInt16FieldInfo

Updated

Field 'updated' in table 'AudienceVisibility': 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 'AudienceVisibility': 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 'AudienceVisibility': Dictionary type UShort, .NET type: Int16

Number of updates made to this record

Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type Description
UInt16FieldInfo

Methods

IdxControllingTable(Int16)

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

FieldDescription
ControllingTableThe table that controls visibility of the source record
Declaration
public Restriction IdxControllingTable(short controllingTable)
Parameters
Type Name Description
Int16 controllingTable
Returns
Type Description
Restriction

IdxSourceTable(Int16)

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

FieldDescription
SourceTableSource table, only table 'project' valid in Audience for Six
Declaration
public Restriction IdxSourceTable(short sourceTable)
Parameters
Type Name Description
Int16 sourceTable
Returns
Type Description
Restriction

Implements

System.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