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
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.
.NET Framework Security
- 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.