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

'宣言
Protected Overridable Function GetDbTypeFromNativeType ( _
    nativeType As String _
) As DbType
'使用
Dim nativeType As String
Dim returnValue As DbType

returnValue = Me.GetDbTypeFromNativeType(nativeType)
protected virtual DbType GetDbTypeFromNativeType(
    string nativeType
)
protected:
virtual DbType GetDbTypeFromNativeType(
    String^ nativeType
)
protected function GetDbTypeFromNativeType(
    nativeType : String
) : DbType

Parameters

Return Value

Type: System.Data.DbType

Returns a DbType object instance representing the mapped type.

Permissions

See Also

Reference

AdoDotNetObjectConceptMapper Class

AdoDotNetObjectConceptMapper Members

Microsoft.VisualStudio.Data.AdoDotNet Namespace