Knight Data Access Layer
GetDatabaseTypeForDbType Method (IDatabaseProvider)




KellermanSoftware.NetDataAccessLayer Namespace > IDatabaseProvider Interface : GetDatabaseTypeForDbType Method
Specifies the data type of a column
If true this represents a long text type like TEXT or NTEXT
Get the database field type for the passed standard DbType
Syntax
Function GetDatabaseTypeForDbType( _
   ByVal dbType As Nullable(Of DbType), _
   ByVal isLongText As Boolean _
) As String
Dim instance As IDatabaseProvider
Dim dbType As Nullable(Of DbType)
Dim isLongText As Boolean
Dim value As String
 
value = instance.GetDatabaseTypeForDbType(dbType, isLongText)
string GetDatabaseTypeForDbType( 
   Nullable<DbType> dbType,
   bool isLongText
)
string* GetDatabaseTypeForDbType( 
   Nullable<DbType> dbType,
   bool isLongText
) 
String^ GetDatabaseTypeForDbType( 
   Nullable<DbType> dbType,
   bool isLongText
) 

Parameters

dbType
Specifies the data type of a column
isLongText
If true this represents a long text type like TEXT or NTEXT
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