指定 Sql 数据类型选项。
命名空间:  Microsoft.Data.Schema.ScriptDom.Sql
程序集:  Microsoft.Data.Schema.ScriptDom.Sql(在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)
语法
声明
<SerializableAttribute> _
Public Enumeration SqlDataTypeOption
[SerializableAttribute]
public enum SqlDataTypeOption
[SerializableAttribute]
public enum class SqlDataTypeOption
[<SerializableAttribute>]
type SqlDataTypeOption
public enum SqlDataTypeOption
成员
| 成员名称 | 说明 | |
|---|---|---|
| None | 类型为 None | |
| BigInt | 类型为 BigInt | |
| Int | 类型为 Int | |
| SmallInt | 类型为 SmallInt | |
| TinyInt | 类型为 TinyInt | |
| Bit | 类型为 Bit | |
| Decimal | 类型为 Decimal | |
| Numeric | 类型为 Numeric | |
| Money | 类型为 Money | |
| SmallMoney | 类型为 SmallMoney | |
| Float | 类型为 Float | |
| Real | 类型为 Real | |
| DateTime | 类型为 DateTime | |
| SmallDateTime | 类型为 SmallDateTime | |
| Char | 类型为 Char | |
| VarChar | 类型为 VarChar | |
| Text | 类型为 Text | |
| NChar | 类型为 NChar | |
| NVarChar | 类型为 NVarChar | |
| NText | 类型为 NText | |
| Binary | 类型为 Binary | |
| VarBinary | 类型为 VarBinary | |
| Image | 类型为 Image | |
| Cursor | 类型为 Cursor | |
| Sql_Variant | 类型为 Sql_Variant | |
| Table | 类型为 Table | |
| Timestamp | 类型为 Timestamp | |
| UniqueIdentifier | 类型为 UniqueIdentifier | |
| Date | 类型为 Date | |
| Time | 类型为 Time | |
| DateTime2 | 类型为 DateTime2 | |
| DateTimeOffset | 类型为 DateTimeOffset |