Helper class to work with SQL Server data types.
Inheritance Hierarchy
Nemiro.Data.Sql SqlType
Namespace: Nemiro.Data.Sql
Assembly: Nemiro.Data (in Nemiro.Data.dll) Version: 2.11.4.126 (2.11.4.126)
Syntax
The SqlType type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | ConvertToSqlDbType |
Converts the specified .NET type to SQL Server type.
|
![]() ![]() | IsDateType |
SQL Server data type is date/time or not.
|
![]() ![]() | IsGuidType |
SQL Server data type is Guid or not.
|
![]() ![]() | IsNumericType |
SQL Server data type is numeric or not.
|
![]() ![]() | IsStringType |
SQL Server data type is string or not.
|
Properties
Name | Description | |
---|---|---|
![]() ![]() | DateTypeList |
List of date/time types.
|
![]() ![]() | NumericTypeList |
List of numerics types.
|
![]() ![]() | StringTypeList |
List of strings types.
|
See Also