Class RelationsSearchListProvider
Serve the active and passive texts of relations, with a given table as source (active) or destination (passive).
Inheritance
System.Object
RelationsSearchListProvider
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.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 |
---|---|
System.String |
PassiveSuffix
Declaration
public const string PassiveSuffix = "Passive"
Field Value
Type | Description |
---|---|
System.String |
ProviderName
Declaration
public const string ProviderName = "RelationsSearchListProvider"
Field Value
Type | Description |
---|---|
System.String |
Properties
HeadingItems
Declaration
public List<ISoListHeading> HeadingItems { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ISoListHeading> |
HistoryInfo
Declaration
public HistoryInfo HistoryInfo { get; }
Property Value
Type | Description |
---|---|
HistoryInfo |
HistoryItems
Declaration
public List<ISoListItem> HistoryItems { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ISoListItem> |
RootItems
Declaration
public List<ISoListItem> RootItems { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.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 |
---|---|---|
System.String | listName | |
System.String | additionalInfo | |
System.Int32[] | historyIDs | |
Boolean | onlyReadHistory | |
System.String | searchValue | |
Boolean | forceFlatList |
FlushCache()
Declaration
public static void FlushCache()
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)