Class ProjectStatusProvider
List of project guide steps status values.
Inherited Members
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[MDOProviderPlugin("ProjectStatus")]
[MDOAdditionalInfoSeparator("&")]
[MDOAdditionalInfo("ProjectTypeId", "Return all pricelists, not just the active ones", 123)]
[MDOAdditionalInfo("GetDeleted", "Include deleted items", true)]
[MDOAdditionalInfo("GetDeletedLinks", "Include deleted projects", true)]
public class ProjectStatusProvider : GuideStepProvider, ISoListProvider, ISoList, IEnumerable<ISoListItem>, IEnumerable
Constructors
ProjectStatusProvider()
List of project guide steps status values.
Declaration
public ProjectStatusProvider()
Fields
ProviderName
List of project guide steps status values.
Declaration
public const string ProviderName = "ProjectStatus"
Field Value
Type | Description |
---|---|
string |
Methods
Construct(string, string, int[], bool, string, bool)
Initializes all class members.
Declaration
public override void Construct(string tableName, string additionalInfo, int[] historyIDs, bool onlyReadHistory, string searchValue, bool forceFlatList)
Parameters
Type | Name | Description |
---|---|---|
string | tableName | Name of the table holding the MDO list values, like Category, Business, etc. Note that this really has to be a valid table name. |
string | additionalInfo | |
int[] | historyIDs | List of history id's (primary keys of the table holding the MDO list values). |
bool | onlyReadHistory | Only read history nodes. |
string | searchValue | Search value (case insensetive string used like '%[searchValue]%'. The result when using this is allways a flat list without hisotry elements. |
bool | forceFlatList | State that a forced flat list should be returned. |
Overrides
GetItemExtraInfo(ListTableRow)
Provides a info regarding the deleted/not deleted state of a ListTableRow
Declaration
protected override string GetItemExtraInfo(ListTableRow row)
Parameters
Type | Name | Description |
---|---|---|
ListTableRow | row | The row in question |
Returns
Type | Description |
---|---|
string | A string with details on the state of the row (sub classes might add info to this string) |
Overrides
GetRankField()
The sub class must provide the rank field of the main table. This field is used for sorting by the base class
Declaration
protected override FieldInfo GetRankField()
Returns
Type | Description |
---|---|
FieldInfo | The Rank FieldInfo object |
Overrides
GetSimpleListQuery()
List of project guide steps status values.
Declaration
protected override ListTableRows.CustomSearch GetSimpleListQuery()
Returns
Type | Description |
---|---|
ListTableRows.CustomSearch |