Knight Data Access Layer
GetDbTypeForClrType Method (IDatabaseProvider)




KellermanSoftware.NetDataAccessLayer Namespace > IDatabaseProvider Interface : GetDbTypeForClrType Method
The type of the class
Get DbType for provided ClrType
Syntax
Function GetDbTypeForClrType( _
   ByVal type As Type _
) As DbType
Dim instance As IDatabaseProvider
Dim type As Type
Dim value As DbType
 
value = instance.GetDbTypeForClrType(type)
DbType GetDbTypeForClrType( 
   Type type
)
DbType GetDbTypeForClrType( 
   Type* type
) 
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

IDatabaseProvider Interface
IDatabaseProvider Members