DataTypeManager Class |
Namespace: CMS.DataEngine
public class DataTypeManager
The DataTypeManager type exposes the following members.
Name | Description | |
---|---|---|
DataTypeManager |
Name | Description | |
---|---|---|
ClearRegisteredTypes |
Clears the registered field types
| |
ConvertToSystemType |
Converts the value to a proper data type
| |
GetDataType(Type) |
Gets the data type by the system type
| |
GetDataType(TypeEnum, String) |
Gets the data type settings by its SQL type
| |
GetDefaultType |
Gets the default type for the given type by its system type
| |
GetFieldType |
Returns form field data type from database column data type.
| |
GetSqlType |
Gets column type for defined data type and size.
| |
GetSqlValue(Object) |
Gets the value representation for a SQL query text
| |
GetSqlValue(TypeEnum, String, Object) |
Gets the value representation for a SQL query text
| |
GetStringValue |
Converts the value to a string value
| |
GetSystemType |
Gets the system type by the field type
| |
IsInteger |
Returns true, if the given type is an integer type
| |
IsKnownType |
Returns true, if the given type is a registered known type
| |
IsNumber |
Returns true, if the given type is a number type
| |
IsString |
Returns true, if the given type is a string type
| |
IsTypeT |
Returns true, if the given type is a GUID type
| |
IsValidDate |
Returns if start date of the scheduled interval is valid.
| |
RegisterDataTypes |
Registers the given data type to the system
| |
SupportsTranslation |
Returns true if the given field type supports translation
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
MAX_DATETIME |
Minimum DateTime value for date time data type
| |
MIN_DATETIME |
Minimum DateTime value for date time data type
| |
PLAIN |
Represents the format string for a plain SQL value
| |
UNICODE |
Represents the format string for a unicode text on SQL server
|
Name | Description | |
---|---|---|
DataTypes |
Registered data types
| |
FieldTypes |
Registered data types
| |
VisibleFieldTypes |
Registered data types
|