Show / Hide Table of Contents

Class AppointmentListProvider

Inheritance
object
AnyTableListProviderBase
AppointmentListProvider
Implements
ISoListProvider
ISoList
Inherited Members
AnyTableListProviderBase._historyListSize
AnyTableListProviderBase.ConstructAsync(string, string, int[], bool, string, bool, CancellationToken)
AnyTableListProviderBase.GetHistoryItemsAsync(CancellationToken)
AnyTableListProviderBase.ClearHistoryItems()
AnyTableListProviderBase.GetRootItemsAsync(CancellationToken)
AnyTableListProviderBase.GetHeadingItemsAsync(CancellationToken)
AnyTableListProviderBase.GetHistoryItemsFromDbAsync(CancellationToken)
AnyTableListProviderBase.OnPreGetRootItemsAsync(List<ISoListItem>)
AnyTableListProviderBase.OnPostGetRootItemsAsync(List<ISoListItem>)
AnyTableListProviderBase.SetHistoryRestriction(Select)
AnyTableListProviderBase.SetHistoryListSizeFromPreference()
AnyTableListProviderBase.ExecuteQueryAsync(Select, List<ISoListItem>, CancellationToken)
AnyTableListProviderBase.ExecuteReaderAsync(SoCommand, CancellationToken)
AnyTableListProviderBase.ListName
AnyTableListProviderBase.AdditionalInfo
AnyTableListProviderBase.HistoryIDs
AnyTableListProviderBase.OnlyReadHistory
AnyTableListProviderBase.ExcludeHistory
AnyTableListProviderBase.SearchValue
AnyTableListProviderBase.ForceFlatList
AnyTableListProviderBase.HistoryInfo
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.BusinessLogic.dll
Syntax
[MDOProviderPlugin("Appointment")]
[MDOAdditionalInfo("anyAppointment", "Return all appointments instead of only mother appointments.", 1)]
public class AppointmentListProvider : AnyTableListProviderBase, ISoListProvider, ISoList

Constructors

AppointmentListProvider()

Declaration
public AppointmentListProvider()

Fields

ProviderName

Provider name

Declaration
public const string ProviderName = "Appointment"
Field Value
Type Description
string

_appointmentTableInfo

Appointment table information

Declaration
protected AppointmentTableInfo _appointmentTableInfo
Field Value
Type Description
AppointmentTableInfo

_textTableInfo

Text table information

Declaration
protected TextTableInfo _textTableInfo
Field Value
Type Description
TextTableInfo

Properties

TableInfo

Returns the table information object for the provider

Declaration
protected override TableInfo TableInfo { get; }
Property Value
Type Description
TableInfo
Overrides
AnyTableListProviderBase.TableInfo

Methods

GetMainQueryAsync(CancellationToken)

Creates the main query for the provider

Declaration
protected override Task<Select> GetMainQueryAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<Select>
Overrides
AnyTableListProviderBase.GetMainQueryAsync(CancellationToken)

GetRootItemsAsync()

Returns the root items for the provider

Declaration
protected override Task<List<ISoListItem>> GetRootItemsAsync()
Returns
Type Description
Task<List<ISoListItem>>
Overrides
AnyTableListProviderBase.GetRootItemsAsync()

InitAsync(CancellationToken)

Init

Declaration
protected override Task InitAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task
Overrides
AnyTableListProviderBase.InitAsync(CancellationToken)

OnRead(SoDataReader, short)

OnRead callback

Declaration
protected override ISoListItem OnRead(SoDataReader reader, short lastRank)
Parameters
Type Name Description
SoDataReader reader
short lastRank
Returns
Type Description
ISoListItem
Overrides
AnyTableListProviderBase.OnRead(SoDataReader, short)

SetSearchRestrictionAsync(Select, string)

Sets the search restriction for the query

Declaration
protected override Task SetSearchRestrictionAsync(Select sql, string searchValue)
Parameters
Type Name Description
Select sql
string searchValue
Returns
Type Description
Task
Overrides
AnyTableListProviderBase.SetSearchRestrictionAsync(Select, string)

Implements

ISoListProvider
ISoList

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top