Class TicketTypeProvider
TicketTypeProvider creates a flat list based on the table: TICKET_TYPE
Inherited Members
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[MDOProviderPlugin("TicketType")]
[MDOAdditionalInfo("onlyForMenu", "false")]
[MDOAdditionalInfo("IgnoreGroupingAndHeadingsForAdmin", "Flag to indicate a call is coming from admin system")]
public class TicketTypeProvider : AnyTableListProviderBase, ISoListProvider, ISoList, IPlugin
Constructors
TicketTypeProvider()
TicketTypeProvider creates a flat list based on the table: TICKET_TYPE
Declaration
public TicketTypeProvider()
Fields
_tableInfo
TicketTypeProvider creates a flat list based on the table: TICKET_TYPE
Declaration
protected TicketTypeTableInfo _tableInfo
Field Value
Type | Description |
---|---|
TicketTypeTableInfo |
IgnoreGroupingAndHeadingsForAdmin
TicketTypeProvider creates a flat list based on the table: TICKET_TYPE
Declaration
public const string IgnoreGroupingAndHeadingsForAdmin = "IgnoreGroupingAndHeadingsForAdmin"
Field Value
Type | Description |
---|---|
String |
InfoKey_OnlyForMenu
TicketTypeProvider creates a flat list based on the table: TICKET_TYPE
Declaration
public const string InfoKey_OnlyForMenu = "onlyForMenu"
Field Value
Type | Description |
---|---|
String |
ProviderName
TicketTypeProvider creates a flat list based on the table: TICKET_TYPE
Declaration
public const string ProviderName = "TicketType"
Field Value
Type | Description |
---|---|
String |
Properties
TableInfo
TicketTypeProvider creates a flat list based on the table: TICKET_TYPE
Declaration
protected override TableInfo TableInfo { get; }
Property Value
Type | Description |
---|---|
TableInfo |
Overrides
Methods
GetMainQuery()
TicketTypeProvider creates a flat list based on the table: TICKET_TYPE
Declaration
protected override Select GetMainQuery()
Returns
Type | Description |
---|---|
Select |
Overrides
Init()
TicketTypeProvider creates a flat list based on the table: TICKET_TYPE
Declaration
protected override void Init()
Overrides
OnRead(SoDataReader, Int16)
Raised every time a new row has been read from the database.
The implementation should read the results from the reader
and populate an object implementing ISoListItem.
Declaration
protected override ISoListItem OnRead(SoDataReader reader, short lastRank)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | Reader to reaf from. |
Int16 | lastRank | Value of the last rank populated. |
Returns
Type | Description |
---|---|
ISoListItem | Data read from the reader. |
Overrides
SetSearchRestriction(Select, String)
Set the search restriction on the list.
Declaration
protected override void SetSearchRestriction(Select sql, string searchValue)
Parameters
Type | Name | Description |
---|---|---|
Select | sql | Query to set the search restriction on. |
String | searchValue | The value of the search restriction. |