Click or drag to resize
DataType Methods

The DataType type exposes the following members.

Methods
  NameDescription
Public methodConvert
Converts the value to a proper type
Public methodConvertToDbType
Converts the value to its database representation.
Protected methodFormatValue
Formats the given value
Public methodGetDefaultValueCode
Gets the code for the default value of this type in C# code
Public methodGetSqlType
Gets the SQL data type representation
Public methodGetSqlValue
Gets the SQL value representation for this type
Public methodGetString
Gets the string representation of the given value
Public methodIsAvailableForObjectType
Returns true if the given data type is available for the given object type
Public methodIsValueOfType
Determines whether given value is of this data type.
Top
See Also