Knight Data Access Layer
GetDatabaseTypeForDbType Method (PostgreSqlProvider)




KellermanSoftware.NetDataAccessLayer.Providers Namespace > PostgreSqlProvider Class : 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
Public Overrides Function GetDatabaseTypeForDbType( _
   ByVal dbType As Nullable(Of DbType), _
   ByVal isLongText As Boolean _
) As String
Dim instance As PostgreSqlProvider
Dim dbType As Nullable(Of DbType)
Dim isLongText As Boolean
Dim value As String
 
value = instance.GetDatabaseTypeForDbType(dbType, isLongText)
public override string GetDatabaseTypeForDbType( 
   Nullable<DbType> dbType,
   bool isLongText
)
public: string* GetDatabaseTypeForDbType( 
   Nullable<DbType> dbType,
   bool isLongText
) override 
public:
String^ GetDatabaseTypeForDbType( 
   Nullable<DbType> dbType,
   bool isLongText
) override 

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

PostgreSqlProvider Class
PostgreSqlProvider Members