AdoDotNetMappedObjectConverter.GetDbTypeFromNativeType Method
Converts the specified native type to a DbType type that is used by an ADO.NET data provider.
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
‘선언
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.String
A string containing the name of the native type to convert.
Return Value
Type: System.Data.DbType
A DbType type, or a DbType.Object if the native type is not found.
.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.