Show / Hide Table of Contents

Class TypedProviderHelper<RowType>

Parameterized helper class for typed archive providers. It uses reflection via the RowType parameter to determine standard columns (based on const string ColumnXXX declarations in the typed row class), and provider DesiredColumns adjustment to always include the standard columns.

Inheritance
Object
TypedProviderHelper<RowType>
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public static class TypedProviderHelper<RowType> : Object where RowType : ArchiveRow
Type Parameters
Name Description
RowType

Archive row type

Methods

AdjustDesiredColumns(String[])

Return the incoming desired columns + standard columns as defined by the typed return row. Duplicates are removed from the result

Declaration
public static string[] AdjustDesiredColumns(string[] externalDesiredColumns)
Parameters
Type Name Description
String[] externalDesiredColumns

Desired columns

Returns
Type Description
String[]

Duplicate-free union of desired and standard columns

GetStandardColumnNames()

Get the standard column names of the RowType, using reflection on the ColumnXXX string constants that name the columns

Declaration
public static string[] GetStandardColumnNames()
Returns
Type Description
String[]

List of standard column names

© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top