Class RelationListProvider
MDO list provider for contact/person relation definitions. This provider is a takes a mandatory
additionalInfo parameter, that specifies what kind of relation should be fetched.
Inheritance
RelationListProvider
Assembly: SoDataBase.dll
Syntax
[MDOProviderPlugin("ContactRelationDefinition")]
[MDOAdditionalInfo("RelationType enum value. CC=Contact-Contact relations", "CC")]
public class RelationListProvider : MDOProviderBase, ISoListProvider, ISoList, IPlugin, IEnumerable<ISoListItem>, IEnumerable
Constructors
RelationListProvider()
Declaration
public RelationListProvider()
Fields
ProviderName
Declaration
public const string ProviderName = "ContactRelationDefinition"
Field Value
Properties
HistoryInfo
History information for the list
Declaration
public override HistoryInfo HistoryInfo { get; }
Property Value
Overrides
Methods
Construct(String, String, Int32[], Boolean, String, Boolean)
Parse the desired relation type; pass on the physical table name to the base class, and (indirectly) construct the list
Declaration
public override void Construct(string tableName, string additionalInfo, int[] historyIDs, bool onlyReadHistory, string searchValue, bool forceFlatList)
Parameters
Overrides
Override: Fetch the passive_text field as the extraInfo
Declaration
protected override string GetItemExtraInfo(ListTableRow row)
Parameters
Returns
Overrides
GetItemIconHint(ListTableRow)
Declaration
protected override string GetItemIconHint(ListTableRow row)
Parameters
Returns
Overrides
GetItemsAndHeadingsQuery()
Override: Add our extra join, restriction and fields to a headings/items list query
Declaration
protected override ListTableRows.CustomSearch GetItemsAndHeadingsQuery()
Returns
Overrides
GetSimpleListQuery()
Override: Add our extra join, restriction and fields to a simple list query
Declaration
protected override ListTableRows.CustomSearch GetSimpleListQuery()
Returns
Overrides
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)
IEnumerableExtensions.ForEach<T>(System.Collections.Generic.IEnumerable<T>, System.Action<T>)
IEnumerableExtensions.ContainsAny<T>(System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IEnumerable<T>)
IEnumerableExtensions.Batch<T>(System.Collections.Generic.IEnumerable<T>, System.Int32)
IEnumerableExtensions.IndexOf<T>(System.Collections.Generic.IEnumerable<T>, T, System.Int32)
IEnumerableExtensions.IndexOf<T>(System.Collections.Generic.IEnumerable<T>, System.Func<T, System.Boolean>, System.Int32)
IEnumerableExtensions.Permute<T>(System.Collections.Generic.IEnumerable<T>, System.Int32)
IEnumerableExtensions.PermissiveToDictionary<T, K, V>(System.Collections.Generic.IEnumerable<T>, System.Func<T, K>, System.Func<T, V>)
IEnumerableExtensions.PermissiveToDictionary<T, K, V>(System.Collections.Generic.IEnumerable<T>, System.Func<T, K>, System.Func<T, V>, System.Collections.Generic.IEqualityComparer<K>)
IEnumerableExtensions.GetDifferentCombinations<T>(System.Collections.Generic.IEnumerable<T>, System.Int32)