Utils Methods |
The Utils type exposes the following members.
| Name | Description | |
|---|---|---|
| GetReferredIdentityID |
Returns the id of an identity, that is referred through a reference property on a data object.
If the referred data object is a user, and not an identity, the id is converted to an identityId.
If the id of the reference property is 0 then the identityId of the user, who created the data object, is returned.
If the referred user (or creator) doesn't have an identity then zero is returned.
| |
| LoadSingleDataObject |
Loads and returns a single dataobject with all properties present.
|
| 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.) |