Show / Hide Table of Contents

Class TableRowLoadHandler

This class is used for fetching extra values from a row custom query where other tables and fields are joined into the query.

Inheritance
object
TableRowLoadHandler
Implements
ITableRowLoadHandler
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 TableRowLoadHandler : ITableRowLoadHandler
Examples

Example of how to use TableRowLoadHandler to get additional values from the row custom query.

TextTableInfo t1 = TablesInfo.GetTextTableInfo();
ExternalEventRow.CustomSearch query = new ExternalEventRow.CustomSearch();
query.ReturnFields.Add(t1.Text);
query.JoinRestriction.LeftOuterJoin(query.TableInfo.SignOffConfTextId.Equal(t1.TextId));
ExtRowHelper extRowHelper = new ExtRowHelper(t1.Text);
ExternalEventRow row = query.ToExternalEventRow(extRowHelper);
//Get the string for t1.text:
string s = (string)extRowHelper[row.ExternalEventId][t1.Text];

Constructors

TableRowLoadHandler(params FieldInfo[])

Constructor.

Declaration
public TableRowLoadHandler(params FieldInfo[] extraFieldInfos)
Parameters
Type Name Description
FieldInfo[] extraFieldInfos

Array of FieldInfo describing extra fields to get values for

Properties

this[int]

This class is used for fetching extra values from a row custom query where other tables and fields are joined into the query.

Declaration
public Dictionary<FieldInfo, object> this[int rowId] { get; }
Parameters
Type Name Description
int rowId
Property Value
Type Description
Dictionary<FieldInfo, object>

Implements

ITableRowLoadHandler

Extension Methods

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