Class StatusDefProvider
Return list of status monitors defined in the system. Additional info query parameter = "Contact" or "project".
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[MDOProviderPlugin("StatusDef")]
[MDOAdditionalInfoSeparator("&")]
[MDOAdditionalInfo("GetDeletedStatusDefs", "Include deleted records", true)]
[MDOAdditionalInfo("GetOwnerTable", "Name of owner table", "Project")]
public class StatusDefProvider : AnyTableListProviderBase, ISoListProvider, ISoList, IPlugin
Examples
Example of AdditionalInfo:
GetOwnerTable=project&GetDeletedStatusDefs=true
Constructors
StatusDefProvider()
Declaration
public StatusDefProvider()
Fields
ProviderName
Provider name
Declaration
public const string ProviderName = "StatusDef"
Field Value
Type | Description |
---|---|
System.String |
Properties
HistoryInfo
Declaration
public override HistoryInfo HistoryInfo { get; }
Property Value
Type | Description |
---|---|
HistoryInfo |
Overrides
TableInfo
Main table info used in the selection query.
This table info is used for getting history items.
Declaration
protected override TableInfo TableInfo { get; }
Property Value
Type | Description |
---|---|
TableInfo |
Overrides
Methods
GetHistoryItems()
No history on this table
Declaration
protected override List<ISoListItem> GetHistoryItems()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<ISoListItem> |
Overrides
GetMainQuery()
Obtain the main query for the selection
Declaration
protected override Select GetMainQuery()
Returns
Type | Description |
---|---|
Select | Main query for the selection. |
Overrides
Init()
Declaration
protected override void Init()
Overrides
OnRead(SoDataReader, Int16)
Handle reading of each item in the selection list
Declaration
protected override ISoListItem OnRead(SoDataReader reader, short lastRank)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | Reader exposing data read from the database. |
System.Int16 | lastRank | Last rank used when populating the list. |
Returns
Type | Description |
---|---|
ISoListItem | List item objects |
Overrides
SetSearchRestriction(Select, String)
Set search restriction on the selection.
Declaration
protected override void SetSearchRestriction(Select sql, string searchValue)
Parameters
Type | Name | Description |
---|---|---|
Select | sql | Sql to modify |
System.String | searchValue | value of the search restriction. |
Overrides
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)