Class ExtDatasourceRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the ext_datasource table.
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class ExtDatasourceRecordData
Remarks
Please use this class instead of a full ExtDatasourceRow 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 ExtDatasourceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
ExtDatasourceRecordData()
Declaration
public ExtDatasourceRecordData()
Fields
DatabaseType
The database type (DbType).
Declaration
public int DatabaseType
Field Value
Type | Description |
---|---|
Int32 |
Datatype
An enum indicating the type/protocol for this datasource.
Declaration
public string Datatype
Field Value
Type | Description |
---|---|
String |
Dbname
The name used for accessing the datasource.
Declaration
public string Dbname
Field Value
Type | Description |
---|---|
String |
ExtDatasourceId
The primary key (auto-incremented)
Declaration
public int ExtDatasourceId
Field Value
Type | Description |
---|---|
Int32 |
Flags
Bitmask of flags.
Declaration
public int Flags
Field Value
Type | Description |
---|---|
Int32 |
Hostname
The hostname for accessing the datasource.
Declaration
public string Hostname
Field Value
Type | Description |
---|---|
String |
LastAccess
The last time this datasource was accessed.
Declaration
public DateTime LastAccess
Field Value
Type | Description |
---|---|
DateTime |
LastUpdate
When did the last update occur?.
Declaration
public DateTime LastUpdate
Field Value
Type | Description |
---|---|
DateTime |
Name
An alias for this datasource.
Declaration
public string Name
Field Value
Type | Description |
---|---|
String |
NextUpdate
Next time the update process starts
Declaration
public DateTime NextUpdate
Field Value
Type | Description |
---|---|
DateTime |
Password
The poassword used for authenticating against the datasource.
Declaration
public string Password
Field Value
Type | Description |
---|---|
String |
Path
Path to the datasource.
Declaration
public string Path
Field Value
Type | Description |
---|---|
String |
Port
The port used for accessing the datasource.
Declaration
public int Port
Field Value
Type | Description |
---|---|
Int32 |
SqlInit
The SQL init used for configure the server before fetching external data.
Declaration
public string SqlInit
Field Value
Type | Description |
---|---|
String |
UnixSocket
Unix socket used with Mysql connections on Linux
Declaration
public string UnixSocket
Field Value
Type | Description |
---|---|
String |
UpdateCompanyCount
Number of companies updated so far
Declaration
public int UpdateCompanyCount
Field Value
Type | Description |
---|---|
Int32 |
UpdateCompletionTime
The last update completion time in minutes.
Declaration
public int UpdateCompletionTime
Field Value
Type | Description |
---|---|
Int32 |
UpdateCustomerCount
Number of customers updated so far
Declaration
public int UpdateCustomerCount
Field Value
Type | Description |
---|---|
Int32 |
UpdateErrorMessage
The last error message from datasource update.
Declaration
public string UpdateErrorMessage
Field Value
Type | Description |
---|---|
String |
UpdateInterval
Number of hours between each database update
Declaration
public int UpdateInterval
Field Value
Type | Description |
---|---|
Int32 |
UpdateLock
Lock to make sure not 2 updates are done simultaniously
Declaration
public DateTime UpdateLock
Field Value
Type | Description |
---|---|
DateTime |
Username
The username used for authenticating against the datasource.
Declaration
public string Username
Field Value
Type | Description |
---|---|
String |