DataTypeManager MembersKentico 8.0 API Reference
The DataTypeManager type exposes the following members.
Constructors

  NameDescription
Public methodDataTypeManager
Back to Top
Methods

  NameDescription
Public methodStatic memberClearRegisteredTypes
Clears the registered field types
Public methodStatic memberConvertToSystemType
Converts the value to a proper data type
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodStatic memberGetDataType(Type)
Gets the data type by the system type
Public methodStatic memberGetDataType(TypeEnum, String)
Gets the data type settings by its SQL type
Public methodStatic memberGetDefaultType
Gets the default type for the given type by its system type
Public methodStatic memberGetFieldType
Returns form field data type from database column data type.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodStatic memberGetSqlType
Gets column type for defined data type and size.
Public methodStatic memberGetSqlValue(Object)
Gets the value representation for a SQL query text
Public methodStatic memberGetSqlValue(TypeEnum, String, Object)
Gets the value representation for a SQL query text
Public methodStatic memberGetSystemType
Gets the system type by the field type
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodStatic memberIsInteger
Returns true, if the given type is an integer type
Public methodStatic memberIsKnownType
Returns true, if the given type is a registered known type
Public methodStatic memberIsNumber
Returns true, if the given type is a number type
Public methodStatic memberIsString
Returns true, if the given type is a string type
Public methodStatic memberIsType T 
Returns true, if the given type is a GUID type
Public methodStatic memberIsValidDate
Returns if start date of the scheduled interval is valid.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodStatic memberRegisterDataTypes
Registers the given data type to the system
Public methodStatic memberSupportsTranslation
Returns true if the given field type supports translation
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Fields

  NameDescription
Public fieldStatic memberMAX_DATETIME
Minimum DateTime value for date time data type
Public fieldStatic memberMIN_DATETIME
Minimum DateTime value for date time data type
Public fieldStatic memberPLAIN
Represents the format string for a plain SQL value
Public fieldStatic memberUNICODE
Represents the format string for a unicode text on SQL server
Back to Top
Properties

  NameDescription
Public propertyStatic memberDataTypes
Registered data types
Public propertyStatic memberFieldTypes
Registered data types
Public propertyStatic memberVisibleFieldTypes
Registered data types
Back to Top
See Also