Knight Data Access Layer
GetDbTypeForClrType Method (MySqlProvider)




KellermanSoftware.NetDataAccessLayer.Providers Namespace > MySqlProvider Class : GetDbTypeForClrType Method
Specify the datatype of the object
Get the database field type for the passed standard DbType
Syntax
Public Overrides Function GetDbTypeForClrType( _
   ByVal type As Type _
) As DbType
Dim instance As MySqlProvider
Dim type As Type
Dim value As DbType
 
value = instance.GetDbTypeForClrType(type)
public override DbType GetDbTypeForClrType( 
   Type type
)
public: DbType GetDbTypeForClrType( 
   Type* type
) override 
public:
DbType GetDbTypeForClrType( 
   Type^ type
) override 

Parameters

type
Specify the datatype of the object
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

MySqlProvider Class
MySqlProvider Members