Udostępnij za pośrednictwem


AdoDotNetObjectConceptMapper.GetDbTypeFromNativeType(String) Method

Definition

Maps a native type to a DbType instance and returns the type value.

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

Name of the native type to map.

Returns

Returns a DbType object instance representing the mapped type.

Applies to