Class AccessScriptTableInfo
Table 'access_script': Scripts to implement row-based access rules (sentry light)
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("access_script")]
public class AccessScriptTableInfo : 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 AccessScript in the database dictionary: access_script
Declaration
public const string DictionaryTableName = "access_script"
Field Value
Type | Description |
---|---|
System.String |
Properties
AccessScriptId
Field 'id' in table 'access_script': Dictionary type PK, .NET type: System.Int32
The primary key (auto-incremented)
Declaration
public Int32FieldInfo AccessScriptId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
AccessTableName
Field 'access_table_name' in table 'access_script': Dictionary type String[256], .NET type: System.String
The name of the table that the access_script is connected to
Declaration
public StringFieldInfo AccessTableName { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
Body
Field 'body' in table 'access_script': Dictionary type Clob, .NET type: System.String
The ejscript that limits the access to the according table
Declaration
public StringFieldInfo Body { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
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 AccessScript 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 |
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 |