AdoDotNetObjectConceptMapper.GetDbTypeFromNativeType 方法

映射本机类型为 DbType 实例并返回类型值。

命名空间:  Microsoft.VisualStudio.Data.AdoDotNet
程序集:  Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.dll 中)

语法

声明
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

参数

  • nativeType
    类型:System.String
    本机类型的名称为的映射。

返回值

类型:System.Data.DbType
返回表示已映射的类型的 DbType 对象实例。

.NET Framework 安全性

请参见

参考

AdoDotNetObjectConceptMapper 类

Microsoft.VisualStudio.Data.AdoDotNet 命名空间