Class AppointmentListProvider
Inherited Members
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[MDOProviderPlugin("Appointment")]
[MDOAdditionalInfo("anyAppointment", "Return all appointments instead of only mother appointments.", 1)]
public class AppointmentListProvider : AnyTableListProviderBase, ISoListProvider, ISoList, IPlugin
Constructors
AppointmentListProvider()
Declaration
public AppointmentListProvider()
Fields
_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 |
ProviderName
Provider name
Declaration
public const string ProviderName = "Appointment"
Field Value
Type | Description |
---|---|
String |
Properties
TableInfo
Returns the table information object for the provider
Declaration
protected override TableInfo TableInfo { get; }
Property Value
Type | Description |
---|---|
TableInfo |
Overrides
Methods
GetMainQuery()
Creates the main query for the provider
Declaration
protected override Select GetMainQuery()
Returns
Type | Description |
---|---|
Select |
Overrides
GetRootItems()
Returns the root items for the provider
Declaration
protected override List<ISoListItem> GetRootItems()
Returns
Type | Description |
---|---|
List<ISoListItem> |
Overrides
Init()
Init
Declaration
protected override void Init()
Overrides
OnRead(SoDataReader, Int16)
OnRead callback
Declaration
protected override ISoListItem OnRead(SoDataReader reader, short lastRank)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | |
Int16 | lastRank |
Returns
Type | Description |
---|---|
ISoListItem |
Overrides
SetSearchRestriction(Select, String)
Sets the search restriction for the query
Declaration
protected override void SetSearchRestriction(Select sql, string searchValue)
Parameters
Type | Name | Description |
---|---|---|
Select | sql | |
String | searchValue |
Overrides
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)