Show / Hide Table of Contents

Class LoginCustomerRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the login_customer table.

Inheritance
Object
LoginCustomerRecordData
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class LoginCustomerRecordData : Object
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()

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the login_customer table.

Declaration
public 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.

Fields

CreatedAt

When the entry was created

Declaration
public DateTime CreatedAt
Field Value
Type Description
DateTime
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.

CustomerId

The id of the customer this entry references.

Declaration
public int CustomerId
Field Value
Type Description
Int32
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.

ErrorMessage

Stores the last error message recorded on this session

Declaration
public string ErrorMessage
Field Value
Type Description
String
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.

Expire

The last time this session was active.

Declaration
public DateTime Expire
Field Value
Type Description
DateTime
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.

LoginCustomerId

The primary key (auto-incremented)

Declaration
public int LoginCustomerId
Field Value
Type Description
Int32
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.

LoginOrigin

1=soap call, 2=customer pages

Declaration
public int LoginOrigin
Field Value
Type Description
Int32
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.

RemoteAddr

For future use: The IP address of the client for this session.

Declaration
public string RemoteAddr
Field Value
Type Description
String
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.

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

SecondsToLive

The session key will expire after a given number of seconds.

Declaration
public int SecondsToLive
Field Value
Type Description
Int32
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.

SessionKey

A random 32 characters value used as authentication key for the session.

Declaration
public string SessionKey
Field Value
Type Description
String
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.

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
LoginCustomerRecordDataExtensions.ToInsert(LoginCustomerRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top