Show / Hide Table of Contents

Class FreeTextIndexBulkImportFacade

Typed facade for an object[] that contains all the fields of the FreeTextIndex table, intended for use with DatabaseOperations. for bulk import of data.

Inheritance
Object
FreeTextIndexBulkImportFacade
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class FreeTextIndexBulkImportFacade
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
Int32

FreetextindexId

Primary key

Declaration
public int FreetextindexId { get; set; }
Property Value
Type Description
Int32

FreetextwordsId

Reference to word

Declaration
public int FreetextwordsId { get; set; }
Property Value
Type Description
Int32

Infile

Word found in file (0=word found in database)

Declaration
public short Infile { get; set; }
Property Value
Type Description
Int16

OwnerrecordId

Logical source record. The contact, project, sale that the source belongs to.

Declaration
public int OwnerrecordId { get; set; }
Property Value
Type Description
Int32

OwnertableId

Logical source table (high-level), like contact or project

Declaration
public short OwnertableId { get; set; }
Property Value
Type Description
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
Int32

RowData

Declaration
public object[] RowData { get; }
Property Value
Type Description
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
Int16

Operators

Implicit(FreeTextIndexBulkImportFacade to Object[])

Declaration
public static implicit operator object[](FreeTextIndexBulkImportFacade r)
Parameters
Type Name Description
FreeTextIndexBulkImportFacade r
Returns
Type Description
Object[]

Extension Methods

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