AdoDotNetMappedObjectConverter.GetDbTypeFromNativeType (Método)

Convierte el tipo especificado nativo a DbType tipo que utiliza un proveedor de datos de ADO.NET .

Espacio de nombres:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Ensamblado:  Microsoft.VisualStudio.Data.Framework (en Microsoft.VisualStudio.Data.Framework.dll)

Sintaxis

'Declaración
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

Parámetros

  • nativeType
    Tipo: System.String
    Cadena que contiene el nombre del tipo nativo para convertir.

Valor devuelto

Tipo: System.Data.DbType
Un tipo de DbType , o DbType.Object si no se encuentra el tipo nativo.

Seguridad de .NET Framework

Vea también

Referencia

AdoDotNetMappedObjectConverter Clase

Microsoft.VisualStudio.Data.Framework.AdoDotNet (Espacio de nombres)