Class LoginCustomerTableInfo
Table 'login_customer': This table contains entries for customer sessions. At first only used for Soap logins, but will later also be used for web logins
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("login_customer")]
public class LoginCustomerTableInfo : 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 LoginCustomer in the database dictionary: login_customer
Declaration
public const string DictionaryTableName = "login_customer"
Field Value
Type | Description |
---|---|
System.String |
Properties
CreatedAt
Field 'created_at' in table 'login_customer': Dictionary type DateTime, .NET type: System.DateTime
When the entry was created
Declaration
public DateTimeFieldInfo CreatedAt { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
CustomerId
Field 'customer_id' in table 'login_customer': Dictionary type FK, target: Person, .NET type: System.Int32
The id of the customer this entry references.
Declaration
public Int32FieldInfo CustomerId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
CustomerId_InnerJoin_Person
Generated join from the foreign key CustomerId in this table, to its target table PersonTableInfo.
Declaration
public TargetedInnerJoin<PersonTableInfo> CustomerId_InnerJoin_Person { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<PersonTableInfo> |
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 LoginCustomer 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 |
ErrorMessage
Field 'error_message' in table 'login_customer': Dictionary type String[256], .NET type: System.String
Stores the last error message recorded on this session
Declaration
public StringFieldInfo ErrorMessage { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
Expire
Field 'expire' in table 'login_customer': Dictionary type DateTime, .NET type: System.DateTime
The last time this session was active.
Declaration
public DateTimeFieldInfo Expire { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
LoginCustomerId
Field 'id' in table 'login_customer': Dictionary type PK, .NET type: System.Int32
The primary key (auto-incremented)
Declaration
public Int32FieldInfo LoginCustomerId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
LoginOrigin
Field 'origin' in table 'login_customer': Dictionary type Int, .NET type: System.Int32
1=soap call, 2=customer pages
Declaration
public Int32FieldInfo LoginOrigin { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
RemoteAddr
Field 'remote_addr' in table 'login_customer': Dictionary type String[65], .NET type: System.String
For future use: The IP address of the client for this session.
Declaration
public StringFieldInfo RemoteAddr { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
RemoteHost
Field 'remote_host' in table 'login_customer': Dictionary type String[65], .NET type: System.String
For future use: The hostname (depending on whether reverse lookup is enabled in httpd) or IP address of the client for this session.
Declaration
public StringFieldInfo RemoteHost { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
RuntimeDefinition
Definition of the table as described in the deployed runtime dictionary
Declaration
public static SoTable RuntimeDefinition { get; }
Property Value
Type | Description |
---|---|
SoTable |
SecondsToLive
Field 'seconds_to_live' in table 'login_customer': Dictionary type Int, .NET type: System.Int32
The session key will expire after a given number of seconds.
Declaration
public Int32FieldInfo SecondsToLive { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
SessionKey
Field 'session_key' in table 'login_customer': Dictionary type String[33], .NET type: System.String
A random 32 characters value used as authentication key for the session.
Declaration
public StringFieldInfo SessionKey { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |