Class LoginCustomerRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the login_customer table.
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class LoginCustomerRecordData
Remarks
Please use this class instead of a full LoginCustomerRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding LoginCustomerTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
LoginCustomerRecordData()
Declaration
public LoginCustomerRecordData()
Fields
CreatedAt
When the entry was created
Declaration
public DateTime CreatedAt
Field Value
Type | Description |
---|---|
DateTime |
CustomerId
The id of the customer this entry references.
Declaration
public int CustomerId
Field Value
Type | Description |
---|---|
Int32 |
ErrorMessage
Stores the last error message recorded on this session
Declaration
public string ErrorMessage
Field Value
Type | Description |
---|---|
String |
Expire
The last time this session was active.
Declaration
public DateTime Expire
Field Value
Type | Description |
---|---|
DateTime |
LoginCustomerId
The primary key (auto-incremented)
Declaration
public int LoginCustomerId
Field Value
Type | Description |
---|---|
Int32 |
LoginOrigin
1=soap call, 2=customer pages
Declaration
public int LoginOrigin
Field Value
Type | Description |
---|---|
Int32 |
RemoteAddr
For future use: The IP address of the client for this session.
Declaration
public string RemoteAddr
Field Value
Type | Description |
---|---|
String |
RemoteHost
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 string RemoteHost
Field Value
Type | Description |
---|---|
String |
SecondsToLive
The session key will expire after a given number of seconds.
Declaration
public int SecondsToLive
Field Value
Type | Description |
---|---|
Int32 |
SessionKey
A random 32 characters value used as authentication key for the session.
Declaration
public string SessionKey
Field Value
Type | Description |
---|---|
String |