DataTypeManager Class |
Namespace: CMS.DataEngine
public class DataTypeManager
The DataTypeManager type exposes the following members.
Name | Description | |
---|---|---|
DataTypeManager |
Name | Description | |
---|---|---|
CODE_VALUE_FORMAT_STRING |
Represents the format string for a string value in C# code
| |
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
|
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
| |
GetDataTypes |
Gets the data types matching the given condition
| |
GetDefaultType |
Gets the default type for the given type by its system type
| |
GetFieldGroups |
Gets the registered field groups
| |
GetFieldType |
Returns form field data type from database column data type.
Some sql types map to multiple field types that differ by size, e.g. nvarchar has more field data types that differ by size.
Specify size to get more accurate result. By default max size for given sql type is used.
| |
GetFieldTypes |
Returns list of all field types for the given object 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
|