映射本机类型为 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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。