Parameter.ConvertDbTypeToTypeCode(DbType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static TypeCode ConvertDbTypeToTypeCode(System::Data::DbType dbType);
public static TypeCode ConvertDbTypeToTypeCode (System.Data.DbType dbType);
static member ConvertDbTypeToTypeCode : System.Data.DbType -> TypeCode
Public Shared Function ConvertDbTypeToTypeCode (dbType As DbType) As TypeCode
Parameters
Returns
A TypeCode value that is equivalent to the specified DbType value.
Remarks
This method returns an Object instance if no equivalent for the DbType value is found. Database types without equivalent types include Guid, Binary, and DateTimeOffset.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.