Class AssociateRestrictionsMDOProviderBase
List provider that returns associates, i.e., our own employees. This extended provider
uses Participant restrictions to find diary conflicts. Uses the following restrictions
from the participants provider:
AppointmentRestrictionId
startTimeInformation
endTimeInformation
Inheritance
AssociateRestrictionsMDOProviderBase
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[MDOAdditionalInfo("appointmentId", "Get conflicts for this appointment", 2)]
[MDOAdditionalInfo("startTimeInformation", "Invariant encoded start-time for conflict detection.", "2014-9-13 13:45:22")]
[MDOAdditionalInfo("endTimeInformation", "Invariant encoded end-time for conflict detection", "2014-9-14 17:45:22")]
public class AssociateRestrictionsMDOProviderBase : AssociateMDOProviderBase, ISoListProvider, ISoList, IEnumerable<ISoListItem>, IEnumerable
Constructors
AssociateRestrictionsMDOProviderBase(AssociateMDOProviderType)
Declaration
public AssociateRestrictionsMDOProviderBase(AssociateMDOProviderType type)
Parameters
Methods
GetConflictsAsync(int[], CancellationToken)
Adds conflict information for resources.
Declaration
protected Task GetConflictsAsync(int[] associateIdList, CancellationToken cancellationToken)
Parameters
Returns
GetItemStyleHint(ListTableRow)
Declaration
protected override string GetItemStyleHint(ListTableRow row)
Parameters
Returns
Overrides
Use dynamic tooltips for associates, since that gives more information; use static tooltip text for other types
Declaration
protected override string GetItemTooltip(ListTableRow row)
Parameters
Returns
Overrides
ReadItemsAndHeadingsAsync(CancellationToken)
Read heading and items.
Special for associate is the combination of associates and resources in the same list.
This means there will have to be two queries to get the items for the list.
Declaration
protected override Task ReadItemsAndHeadingsAsync(CancellationToken cancellationToken)
Parameters
Returns
Overrides
Implements
Extension Methods