DataUtils Methods |
The DataUtils type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | ConvertToSqlDateTime |
Converts a DateTime into a SqlDateTime
|
![]() ![]() | CreateConnectionString |
This method will create connection string based on every possibility of collector variables
|
![]() ![]() | CreateIdListTempTable |
Creates a temporary db table with one integer column for holding ids.
|
![]() ![]() | ExecuteNonQuery | |
![]() ![]() | ExecuteReader | |
![]() ![]() | ExecuteScalar | |
![]() ![]() | GetDatabaseCollation |
Returns the collation setting of the database
|
![]() ![]() | GetDatabaseName |
Use this method to extract database name (in uppercase) from the sql connection string.
|
![]() ![]() | GetGuids |
Returns collection of Guids. The value must be in the ordinal 0 of the cursor
|
![]() ![]() | GetIntFieldList | |
![]() ![]() | GetTransactionCount | |
![]() ![]() | PopulateTempIdTable |
Obsolete: Use ControllerBase.PopulateTempTable(T)(string, IEnumerable(T), TempTableOptions) instead.
|
![]() ![]() | PopulateTempTableT |
Creates a temporary db table with a single column and populates it with values.
|
![]() ![]() | SetCommandTimeout |
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |