AdoDotNetMappedObjectConverter.GetDbTypeFromNativeType(String) 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.
Converts the specified native type to a DbType type that is used by an ADO.NET data provider.
protected:
virtual System::Data::DbType GetDbTypeFromNativeType(System::String ^ nativeType);
protected virtual System.Data.DbType GetDbTypeFromNativeType (string nativeType);
abstract member GetDbTypeFromNativeType : string -> System.Data.DbType
override this.GetDbTypeFromNativeType : string -> System.Data.DbType
Protected Overridable Function GetDbTypeFromNativeType (nativeType As String) As DbType
Parameters
- nativeType
- String
A string containing the name of the native type to convert.
Returns
A DbType type, or a DbType.Object if the native type is not found.