A Sandcastle Documented Class Library

# DataTypeData Class

The DTO object for a DataType.
Inheritance Hierarchy
System
Object
Dundas.BI.WebApi.Models
BaseDataContract
Dundas.BI.WebApi.Models
DataTypeData

Namespace: Dundas.BI.WebApi.Models
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [DataContractAttribute]
    public class DataTypeData : BaseDataContract

    <DataContractAttribute>
    Public Class DataTypeData
    	Inherits BaseDataContract

    [DataContractAttribute]
    public ref class DataTypeData : public BaseDataContract

    [<DataContractAttribute>]
    type DataTypeData =
        class
            inherit BaseDataContract
        end

The DataTypeData type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| DataTypeData | Initializes a new instance of the DataTypeData class.

Top
Properties

| Name | Description
--- | --- | ---
| DatabaseType | Gets or sets the data type to which native data type is mapped.
| IsNullable | Gets or sets a value indicating whether this instance accepts for a value.
| IsNumeric | Gets a value indicating whether this data type is numeric.
| IsSortable | Gets or sets a value indicating whether the data type is sortable.
| MaxLength | Gets or sets the maximum length (for string and binary data types).
| NumericPrecision | Gets or sets the maximum number of digits (for numeric data types).
| NumericScale | Gets or sets the number of decimal places (for numeric data types).
| OriginalDataTypeName | Gets or sets the data type name as defined in the source database.
| UIClassName | Gets or sets the name of the UI class (used for auto de-serialization). (Inherited from BaseDataContract.)

Top
See Also

#### Reference

Dundas.BI.WebApi.Models Namespace