Knight Data Access Layer
GetDbType Method (BaseOracleProvider)




KellermanSoftware.NetDataAccessLayer.Providers Namespace > BaseOracleProvider Class : GetDbType Method
The name of the table
The name of the field in the table
The provider specific datbase type
Get a DbType associated with a string from a database
Syntax
Public Overrides Function GetDbType( _
   ByVal tableName As String, _
   ByVal fieldName As String, _
   ByVal typeString As String _
) As DbType
Dim instance As BaseOracleProvider
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
Example
bigint will return a DbType of Int64
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

BaseOracleProvider Class
BaseOracleProvider Members