Class ExtraFieldsRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the extra_fields table.
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class ExtraFieldsRecordData
Remarks
Please use this class instead of a full ExtraFieldsRow 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 ExtraFieldsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
ExtraFieldsRecordData()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the extra_fields table.
Declaration
public ExtraFieldsRecordData()
Remarks
Please use this class instead of a full ExtraFieldsRow 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 ExtraFieldsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Fields
DefaultValue
The default value of this extra field.
Declaration
public string DefaultValue
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full ExtraFieldsRow 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 ExtraFieldsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Description
Optional description of what this field is used for.
Declaration
public string Description
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full ExtraFieldsRow 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 ExtraFieldsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Domain
Enum indicating for what table this is an extra field (ticket, customer, company, etc).
Declaration
public short Domain
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full ExtraFieldsRow 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 ExtraFieldsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
ExtraFieldsId
The primary key (auto-incremented)
Declaration
public int ExtraFieldsId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full ExtraFieldsRow 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 ExtraFieldsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
ExtraTable
The reference to the extra_table if this table is related to an extra_table. NULL or -1 if not set.
Declaration
public int ExtraTable
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full ExtraFieldsRow 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 ExtraFieldsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
FieldName
The database name of this extra field.
Declaration
public string FieldName
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full ExtraFieldsRow 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 ExtraFieldsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Flags
A bitmask for flags for this extra field.
Declaration
public int Flags
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full ExtraFieldsRow 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 ExtraFieldsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Name
The name of this extra field.
Declaration
public string Name
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full ExtraFieldsRow 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 ExtraFieldsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
OrderPos
Used to order elements when listed.
Declaration
public int OrderPos
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full ExtraFieldsRow 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 ExtraFieldsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Params
A string contaning various parameters for this extra field, stored in an arbitrary format.
Declaration
public string Params
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full ExtraFieldsRow 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 ExtraFieldsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
TargetExtraTable
If this extra field is a extra table relation, then this is the id of the extra table this entry points to.
Declaration
public int TargetExtraTable
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full ExtraFieldsRow 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 ExtraFieldsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Type
Enum indicating the type for this extra field (string, int, date, etc).
Declaration
public short Type
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full ExtraFieldsRow 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 ExtraFieldsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.