Class VisibleForAssociateMDOProvider
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Inheritance
VisibleForAssociateMDOProvider
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[MDOProviderPlugin("visibleforassociate")]
[MDOAdditionalInfo("ContactName", "Add the company name in parenthesis.", false)]
[MDOAdditionalInfo("includeHasEmail", "Include has_email in extrainfo", false)]
public class VisibleForAssociateMDOProvider : AssociateMDOProviderBase, ISoListProvider, ISoList, IEnumerable<ISoListItem>, IEnumerable
Fields
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Declaration
public const string ContactNameAdditionalInfo = "ContactName"
Field Value
IncludeHasEmail
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Declaration
public const string IncludeHasEmail = "includeHasEmail"
Field Value
ProviderName
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Declaration
public const string ProviderName = "visibleforassociate"
Field Value
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Declaration
protected ContactTableInfo _contactTableInfo
Field Value
_emailTableInfo
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Declaration
protected EmailTableInfo _emailTableInfo
Field Value
Methods
ConstructAsync(string, string, int[], bool, string, bool, CancellationToken)
Phase two of the two-phase construction
Declaration
public override Task ConstructAsync(string tableName, string additionalInfo, int[] historyIDs, bool onlyReadHistory, string searchValue, bool forceFlatList, CancellationToken cancellationToken = default)
Parameters
Returns
Overrides
FillListAsync(CancellationToken)
Fill the list with items
Filtering out duplicate person id's if the additional info specifies that we should include an email join
Declaration
protected override Task FillListAsync(CancellationToken cancellationToken)
Parameters
Returns
Overrides
GenerateCommonQueryAsync(CustomSearch, ListInfo, CancellationToken)
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Declaration
protected override Task GenerateCommonQueryAsync(ListTableRows.CustomSearch query, ListInfo li, CancellationToken cancellationToken)
Parameters
Returns
Overrides
GetGroupingAllowedForListAsync(CancellationToken)
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Declaration
protected override Task<bool> GetGroupingAllowedForListAsync(CancellationToken cancellationToken)
Parameters
Returns
Overrides
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Declaration
protected override string GetItemExtraInfo(ListTableRow row)
Parameters
Returns
Overrides
GetItemName(ListTableRow)
Declaration
protected override string GetItemName(ListTableRow row)
Parameters
Returns
Overrides
Implements
Extension Methods