Knight Data Access Layer
GetDbType Method (MsAccessProvider)




KellermanSoftware.NetDataAccessLayer.Providers Namespace > MsAccessProvider Class : GetDbType Method
The name of the table
The name of the field in the table
The provider specific datbase type
Get the generic database type for the specific database type
Syntax
Public Overrides Function GetDbType( _
   ByVal tableName As String, _
   ByVal fieldName As String, _
   ByVal typeString As String _
) As DbType
Dim instance As MsAccessProvider
Dim tableName As String
Dim fieldName As String
Dim typeString As String
Dim value As DbType
 
value = instance.GetDbType(tableName, fieldName, typeString)
public override DbType GetDbType( 
   string tableName,
   string fieldName,
   string typeString
)
public: DbType GetDbType( 
   string* tableName,
   string* fieldName,
   string* typeString
) override 
public:
DbType GetDbType( 
   String^ tableName,
   String^ fieldName,
   String^ typeString
) override 

Parameters

tableName
The name of the table
fieldName
The name of the field in the table
typeString
The provider specific datbase type
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

MsAccessProvider Class
MsAccessProvider Members