Helper Class Members
- Last UpdatedNov 06, 2025
- 5 minute read
The following tables list the members exposed by Helper.
| Name | Description | |
|---|---|---|
![]() ![]() | ConvertStringToInt | Overloaded. Converts the input string to a valid integer if appropriate; else the default string is returned back to the caller. |
![]() ![]() | ConvertUtcToLocal | Converts a Utc time to a Local time. It will make sure the input DateTime has the proper Kind setting. |
![]() ![]() | DaysElapsed | To determine if a certain number of days have elapsed since a specified datetime |
![]() ![]() | GetBoolAsString | Convert an object representing a boolean value into a string such as "0' or "1". Useful when optional boolean parameters are passed to a function as an object. |
![]() ![]() | GetBoolAsStringDesc | Convert an object representing a boolean value into a string description such as 'true' or 'false'. Useful when optional boolean parameters are passed to a function as an object. |
![]() ![]() | GetBoolFromDataRow | Overloaded. Convert and return the specified field of the supplied System.Data.DataRow as a bool If the value is a DB Null or the column does not exist or it doesn't convert to the specified type then return the specified default value. |
![]() ![]() | GetBoolFromString | Convert and return the specified string as a bool Check for all possible text representations of true or false, otherwise default to the specified value. Uses system string for true / false to allow for different languages |
![]() ![]() | GetDatetimeFromDataRow | Overloaded. Convert and return the specified field of the supplied System.Data.DataRow as a DateTime If the value is a DB Null or the column does not exist or it doesn't convert to the specified type then return the specified default value. |
![]() ![]() | GetDoubleFromDataRow | Overloaded. Convert and return the specified field of the supplied System.Data.DataRow as a double If the value is a DB Null or the column does not exist or it doesn't convert to the specified type then return the specified default value. |
![]() ![]() | GetHash | Gets a hash of the binary serialization of an object Returns null if the object cannot be serialized |
![]() ![]() | GetIntFromDataRow | Overloaded. Convert and return the specified field of the supplied System.Data.DataRow as an integer If the value is a DB Null or the column does not exist or it doesn't convert to the specified type then return the specified default value. |
![]() ![]() | GetIntFromString | Overloaded. Converts the input string to a valid integer if appropriate; else the default string is returned back to the caller. |
![]() ![]() | GetStringFromDataRow | Overloaded. Convert and return the specified field of the supplied System.Data.DataRow as a string If the value is a DB Null or the column does not exist or it doesn't convert to the specified type then return the specified default value. |
![]() ![]() | HasHashChanged | Compare 2 hashes (byte arrays) to see if they are identical or not |
![]() ![]() | ParseEnum<T> | Converts the input enum description to a valid enum. |
![]() ![]() | TimeElapsed | To determine if a certain number of seconds have elapsed since a specified datetime |
![]() ![]() | TimePeriodMatch | Checks to see if the current time is within the specified time period as defined by the start and end times passed as parameters. If the start time is later than the end time it is assumed we are going over a day boundary. |

