Knight Data Access Layer
GetDbTypeForClrType Method (BaseDatabaseProvider)




KellermanSoftware.NetDataAccessLayer Namespace > BaseDatabaseProvider Class : GetDbTypeForClrType Method
The type of the class
Get the DbType for provided ClrType
Syntax
Public Overridable Function GetDbTypeForClrType( _
   ByVal type As Type _
) As DbType
Dim instance As BaseDatabaseProvider
Dim type As Type
Dim value As DbType
 
value = instance.GetDbTypeForClrType(type)
public virtual DbType GetDbTypeForClrType( 
   Type type
)
public: virtual DbType GetDbTypeForClrType( 
   Type* type
) 
public:
virtual DbType GetDbTypeForClrType( 
   Type^ type
) 

Parameters

type
The type of the class
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BaseDatabaseProvider Class
BaseDatabaseProvider Members