Knight Data Access Layer
GetDbTypeForClrType Method (IDataHelper)




KellermanSoftware.NetDataAccessLayer Namespace > IDataHelper Interface : GetDbTypeForClrType Method
The type of the class
Get the DbType for provided ClrType. Used internally for creating tables. Can be also used externally for code generation.
Syntax
Function GetDbTypeForClrType( _
   ByVal type As Type _
) As DbType
Dim instance As IDataHelper
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

IDataHelper Interface
IDataHelper Members