QuickObjects.ObjectBase Send comments on this topic.
Utilities Class Members
See Also  Methods 
Akal.QuickObjects.ObjectBase Namespace : Utilities Class


The following tables list the members exposed by Utilities.

Public Constructors

 NameDescription
Public ConstructorUtilities ConstructorUtilities

Default constructor for Utilities class.  

Top

Public Methods

 NameDescription
Public Methodstatic (Shared in Visual Basic)AssignFieldValuesAssignFieldValues

Takes the value of the leftField and assigns it to the rightField

Parameters:
Description
leftField
rightField

Returns:
Type
System.Boolean
 

Public Methodstatic (Shared in Visual Basic)GetFieldNameOverloaded. GetFieldName

If the IsCustom property is set to true on the passed in field object then the ResultSetName value is returned.

Otherwise if the ResultSetName property has a value then that is returned or else the Name value is returned.

Parameters:
Description
field

Returns:
Type
System.String
 

Public Methodstatic (Shared in Visual Basic)GetObjectNameOverloaded. GetObjectName

Returns a object name representation based on the passed in value for encloseObjectNames. It also returns a . at the end.

Parameters:
Description
field
encloseObjectName
databaseType

Returns:
Type
System.String
 

Public Methodstatic (Shared in Visual Basic)GetTableNameOverloaded. GetTableName

Calls the GetResultSetName of the BusinessObject. If BusinessObject is null then it returns a null.

Parameters:
Description
field

Returns:
Type
System.String
 

Public Methodstatic (Shared in Visual Basic)Load_BinaryLoad_Binary

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to Byte[] value and assigns it to the obj.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)Load_BooleanLoad_Boolean

If the passed in parameter is null, this method returns a false value. If the passed in object is not null, this method casts the object to a Boolean value and returns the result.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)Load_ByteLoad_Byte

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to Byte value and assigns it to the obj.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)Load_DateTimeLoad_DateTime

If the passed in parameter is null, this method returns a false value. If the passed in object is not null, this method casts the object to a DateTime value and returns the result.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)Load_DecimalLoad_Decimal

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to Decimal value and assigns it to the obj.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)Load_DoubleLoad_Double

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to Double value and assigns it to the obj.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)Load_GuidLoad_Guid

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to Guid value and assigns it to the obj.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)Load_Int16Load_Int16

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to Int16 value and assigns it to the obj.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)Load_Int32Load_Int32

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to Int32 value and assigns it to the obj.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)Load_Int64Load_Int64

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to Int64 value and assigns it to the obj.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)Load_SingleLoad_Single

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to Single value and assigns it to the obj.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)Load_StringLoad_String

If the passed in parameter is null, this method returns sets "" (blank String) into the obj.Value. If the passed in object is not null, this method casts the object to a String value and returns the result.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)Load_UInt16Load_UInt16

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to UInt16 value and assigns it to the obj.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)Load_UInt32Load_UInt32

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to UInt32 value and assigns it to the obj.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)Load_UInt64Load_UInt64

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to UInt64 value and assigns it to the obj.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)Load_XmlDocumentLoad_XmlDocument

If the passed in parameter is null, this method returns an empty xml document. If the passed in object is not null, this method casts the object to an XmlDocument.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)LoadOriginal_BinaryLoadOriginal_Binary

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to Byte[] value and assigns it to the obj.OriginalValue.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)LoadOriginal_BooleanLoadOriginal_Boolean

If the passed in parameter is null, this method returns a false value. If the passed in object is not null, this method casts the object to a Boolean value and returns the result.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)LoadOriginal_ByteLoadOriginal_Byte

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to Byte value and assigns it to the obj.OriginalValue.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)LoadOriginal_DateTimeLoadOriginal_DateTime

If the passed in parameter is null, this method returns a false value. If the passed in object is not null, this method casts the object to a DateTime value and returns the result.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)LoadOriginal_DecimalLoadOriginal_Decimal

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to Decimal value and assigns it to the obj.OriginalValue.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)LoadOriginal_DoubleLoadOriginal_Double

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to Double value and assigns it to the obj.OriginalValue.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)LoadOriginal_GuidLoadOriginal_Guid

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to Guid value and assigns it to the obj.OriginalValue.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)LoadOriginal_Int16LoadOriginal_Int16

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to Int16 value and assigns it to the obj.OriginalValue.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)LoadOriginal_Int32LoadOriginal_Int32

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to Int32 value and assigns it to the obj.OriginalValue.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)LoadOriginal_Int64LoadOriginal_Int64

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to Int64 value and assigns it to the obj.OriginalValue.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)LoadOriginal_SingleLoadOriginal_Single

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to Single value and assigns it to the obj.OriginalValue.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)LoadOriginal_StringLoadOriginal_String

If the passed in parameter is null, this method returns sets "" (blank String) into the obj.OriginalValue.Value. If the passed in object is not null, this method casts the object to a String value and returns the result.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)LoadOriginal_UInt16LoadOriginal_UInt16

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to UInt16 value and assigns it to the obj.OriginalValue.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)LoadOriginal_UInt32LoadOriginal_UInt32

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to UInt32 value and assigns it to the obj.OriginalValue.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)LoadOriginal_UInt64LoadOriginal_UInt64

If the passed in parameter is null this method sets the obj to null.

If the passed in object is not null, this method casts the val object to UInt64 value and assigns it to the obj.OriginalValue.Value.

Parameters:
Description
obj
val
 

Public Methodstatic (Shared in Visual Basic)LoadOriginal_XmlDocumentLoadOriginal_XmlDocument

If the passed in parameter is null, this method returns an empty xml document. If the passed in object is not null, this method casts the object to an XmlDocument.

Parameters:
Description
obj
val
 

Top

See Also