Class FreeTextIndexBulkImportFacade
Typed facade for an object[] that contains all the fields of the FreeTextIndex table, intended for
use with DatabaseOperations.
Inheritance
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class FreeTextIndexBulkImportFacade : Object
Remarks
The bulk import system is based on generic row data, represented as an array of object. While this fits the bulk import functionality well, it may be convenient to have a typed, named way of accessing the elements of such an object. This class has an object[] as its data carrier, together with strongly typed access members.
On creation, the array is dimensioned and all members initialized with 'blank' values for their types (never null). There is an implicit conversion operator to object[], and it is also possible to access the array directly.
Constructors
FreeTextIndexBulkImportFacade()
Declaration
public FreeTextIndexBulkImportFacade()
Properties
ContactId
Set for contacts and person records to allow cross-table free-text searches. 0 for non-contact, non-person
Declaration
public int ContactId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
FreetextindexId
Primary key
Declaration
public int FreetextindexId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
FreetextwordsId
Reference to word
Declaration
public int FreetextwordsId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Infile
Word found in file (0=word found in database)
Declaration
public short Infile { get; set; }
Property Value
Type | Description |
---|---|
System.Int16 |
OwnerrecordId
Logical source record. The contact, project, sale that the source belongs to.
Declaration
public int OwnerrecordId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
OwnertableId
Logical source table (high-level), like contact or project
Declaration
public short OwnertableId { get; set; }
Property Value
Type | Description |
---|---|
System.Int16 |
RecordId
Source record - the row that contains the word. Might be contact record, or an address or phone
Declaration
public int RecordId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
RowData
Declaration
public object[] RowData { get; }
Property Value
Type | Description |
---|---|
System.Object[] |
TableId
Source table number - could be main (contact, person, etc) or sub-tables like address, email
Declaration
public short TableId { get; set; }
Property Value
Type | Description |
---|---|
System.Int16 |
Operators
Implicit(FreeTextIndexBulkImportFacade to Object[])
Declaration
public static implicit operator object[](FreeTextIndexBulkImportFacade r)
Parameters
Type | Name | Description |
---|---|---|
FreeTextIndexBulkImportFacade | r |
Returns
Type | Description |
---|---|
System.Object[] |