dundas.data.DataType Class

 

Inheritance Hierarchy

 
Class
   dundas.data.DataType
 

Constructors

 
  Name Description
init Initializes the DataType. Called during construction.
 
 

Properties

 
  Name Description
databaseType Gets or sets the database type.
isDateTime Gets a value indicating whether the data type is date/time.
isNullable Gets or sets whether or not this data type can be set to null.
isNumeric Gets a value indicating whether the data type is numeric.
isSortable Gets or sets a value indicating whether the data type is sortable.
maxLength Gets or sets the max length of this data type (may be null).
numericPrecision Gets or sets numeric precision of this data type (may be null).
numericScale Gets or sets the numeric scale (may be null).
originalDataTypeName Gets or sets the original data type name.
 
 

Methods

 
  Name Description
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
toString Creates a string representation of this data type.