Show / Hide Table of Contents

Class RelationsSearchListProvider

Serve the active and passive texts of relations, with a given table as source (active) or destination (passive).

Inheritance
Object
RelationsSearchListProvider
Implements
IDynamicMDOProvider
ISoListProvider
ISoList
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[DynamicMDOProviderPlugin("RelationsSearchListProvider")]
public class RelationsSearchListProvider : IDynamicMDOProvider, ISoListProvider, ISoList, IPlugin
Remarks

To facilitate relation searching, we need to provide a way to choose which relation we would like to find. This provider supplies one list (dynamically named) for each table that is used as a source or destination (relationdefinition --> relationtarget).

Each relation target combination supplied by relationtarget causes the relationdefinition to appear in the correct direction, in the list for a table. Each such list is always flat.

Constructors

RelationsSearchListProvider()

Declaration
public RelationsSearchListProvider()

Fields

ActiveSuffix

Declaration
public const string ActiveSuffix = "Active"
Field Value
Type Description
String

PassiveSuffix

Declaration
public const string PassiveSuffix = "Passive"
Field Value
Type Description
String

ProviderName

Declaration
public const string ProviderName = "RelationsSearchListProvider"
Field Value
Type Description
String

Properties

HeadingItems

Declaration
public List<ISoListHeading> HeadingItems { get; }
Property Value
Type Description
List<ISoListHeading>

HistoryInfo

Declaration
public HistoryInfo HistoryInfo { get; }
Property Value
Type Description
HistoryInfo

HistoryItems

Declaration
public List<ISoListItem> HistoryItems { get; }
Property Value
Type Description
List<ISoListItem>

RootItems

Declaration
public List<ISoListItem> RootItems { get; }
Property Value
Type Description
List<ISoListItem>

SupportedLists

Declaration
public HistoryInfo[] SupportedLists { get; }
Property Value
Type Description
HistoryInfo[]

Methods

Construct(String, String, Int32[], Boolean, String, Boolean)

Declaration
public void Construct(string listName, string additionalInfo, int[] historyIDs, bool onlyReadHistory, string searchValue, bool forceFlatList)
Parameters
Type Name Description
String listName
String additionalInfo
Int32[] historyIDs
Boolean onlyReadHistory
String searchValue
Boolean forceFlatList

FlushCache()

Declaration
public static void FlushCache()

Implements

IDynamicMDOProvider
ISoListProvider
ISoList

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