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
nativeType
Type: System.StringName of the native type to map.
Return Value
Type: System.Data.DbType
Returns a DbType object instance representing the mapped type.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
AdoDotNetObjectConceptMapper Class