Share via


AdoDotNetObjectConceptMapper.GetDbTypeFromNativeType Method

Maps a native type to a DbType instance and returns the type value.

Namespace:  Microsoft.VisualStudio.Data.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Protected Overridable Function GetDbTypeFromNativeType ( _
    nativeType As String _
) As DbType
protected virtual DbType GetDbTypeFromNativeType(
    string nativeType
)
protected:
virtual DbType GetDbTypeFromNativeType(
    String^ nativeType
)
abstract GetDbTypeFromNativeType : 
        nativeType:string -> DbType  
override GetDbTypeFromNativeType : 
        nativeType:string -> DbType
protected function GetDbTypeFromNativeType(
    nativeType : String
) : DbType

Parameters

Return Value

Type: System.Data.DbType
Returns a DbType object instance representing the mapped type.

.NET Framework Security

See Also

Reference

AdoDotNetObjectConceptMapper Class

Microsoft.VisualStudio.Data.AdoDotNet Namespace