Ant Organisation Ltd documentation

AntDatabase.ConvertToCommonType Method 

Converts a database type to a .net common type

public object ConvertToCommonType(
   Type required,
   object objFromDatabase
);

Parameters

required
.net type that is required
objFromDatabase
Object that was retrieved from the database

Return Value

Object of the correct type

Remarks

This conversion is based on the database type, and is required because each database implement different types

See Also

AntDatabase Class | Ant.Database Namespace