CustomInternalStatusInfoProvider

Top  Previous  Next

This class manages the internal status lookup table. It uses the InternalStatusInfo class.

 

•object GetInternalStatusInfo(int internalStatusId) – returns the InternalStatusInfo object selected by its ID.
•object GetInternalStatusInfo(string internalStatusName) – returns the InternalStatusInfo object selected by its name.
•void SetInternalStatusInfo(object internalStatus) – updates status record with data from given InternalStatusInfo object. If StatusID is set, updates the record, if not inserts a new record.
•void DeleteInternalStatusInfo(int internalStatusId) – deletes the internal status record with given ID.
•bool CheckDependencies(int internalStatusId) – returns true if some records depend on the status record.
•DataSet GetStatuses(object status) – returns the DataSet of all the statuses. See Database Reference for column definition.
•object GetInternalStatusInfos(string where, string orderBy) - returns the DataSet of all the statuses filtered by where condition and ordered by orderBy expression.