Class SelectionLastUsageHelper
Helper class for Selections of all kinds, to save tracking information about loading, changes and member counts
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public static class SelectionLastUsageHelper
Methods
IncrementMemberCount(int, int)
Update the membership count information; only call if you have actually read the selection to the bottom or otherwise know the true count
Declaration
public static void IncrementMemberCount(int selectionId, int increment)
Parameters
Type | Name | Description |
---|---|---|
int | selectionId | 0 means 'no updates' |
int | increment | Change to member count; can be negative to record removal of members |
UpdateLastLoaded(int)
Update the last-loaded information
Declaration
public static void UpdateLastLoaded(int selectionId)
Parameters
Type | Name | Description |
---|---|---|
int | selectionId | 0 means 'no updates' |
UpdateLastMembershipChange(int)
Update the last-changed information
Declaration
public static void UpdateLastMembershipChange(int selectionId)
Parameters
Type | Name | Description |
---|---|---|
int | selectionId | 0 means 'no updates' |
UpdateTotalMemberCount(int, int)
Update the membership count information; only call if you have actually read the selection to the bottom or otherwise know the true count
Declaration
public static void UpdateTotalMemberCount(int selectionId, int totalMemberCount)
Parameters
Type | Name | Description |
---|---|---|
int | selectionId | 0 means 'no updates' |
int | totalMemberCount | New total member count, -1 means 'no change' |