Share via


DataType Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the DataType class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method DataType() Initializes a new instance of the DataType class.
Public method DataType(SqlDataType) Initializes a new instance of the DataType class based on a specified SQL Server data type.
Public method DataType(UserDefinedDataType) Initializes a new instance of the DataType class based on a specified user-defined data type.
Public method DataType(UserDefinedTableType) Initializes a new instance of the DataType class based on a specified user-defined table type.
Public method DataType(UserDefinedType) Initializes a new instance of the DataType class based on a specified user-defined type.
Public method DataType(XmlSchemaCollection) Initializes a new instance of the DataType class based on a specified XML schema collection.
Public method DataType(SqlDataType, Int32) Initializes a new instance of the DataType class based on a specified SQL Server data type with specified precision or maximum length.
Public method DataType(SqlDataType, String) Initializes a new instance of the DataType class based on a specified SQL Server data type with the specified type.
Public method DataType(SqlDataType, Int32, Int32) Initializes a new instance of the DataType class based on a specified SQL Server data type with the specified precision and scale.
Public method DataType(SqlDataType, String, String) Initializes a new instance of the DataType class based on a specified SQL Server data type with the specified type and schema.

Top