共用方式為


AdoDotNetMappedObjectConverter.GetDbTypeFromNativeType(String) Method

Definition

Converts the specified native type to a DbType type that is used by an ADO.NET data provider.

protected:
 virtual System::Data::DbType GetDbTypeFromNativeType(System::String ^ nativeType);
protected virtual System.Data.DbType GetDbTypeFromNativeType (string nativeType);
abstract member GetDbTypeFromNativeType : string -> System.Data.DbType
override this.GetDbTypeFromNativeType : string -> System.Data.DbType
Protected Overridable Function GetDbTypeFromNativeType (nativeType As String) As DbType

Parameters

nativeType
String

A string containing the name of the native type to convert.

Returns

A DbType type, or a DbType.Object if the native type is not found.

Applies to