DBDriverBaseConvertDBTypeToNETType Method |
Converts the passed in db type to its .NET type
Namespace:
SD.LLBLGen.Pro.DBDriverCore
Assembly:
SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.13.0.0 (5.13.25.1117)
Syntaxpublic virtual Type ConvertDBTypeToNETType(
int dbType,
int precision,
int scale,
bool forDatabaseFirst = false
)
Public Overridable Function ConvertDBTypeToNETType (
dbType As Integer,
precision As Integer,
scale As Integer,
Optional forDatabaseFirst As Boolean = false
) As Type
Parameters
- dbType
- Type: SystemInt32
Type of the db. - precision
- Type: SystemInt32
The precision. - scale
- Type: SystemInt32
The scale. - forDatabaseFirst (Optional)
- Type: SystemBoolean
if true, the call is for a database first action. This is passed onto the driver
Return Value
Type:
Type
conversion result of dbtype to .NET type conversion
RemarksPrecision and scale aren't used in the default version, though can be required for some database drivers like ODP.NET based drivers for oracle.
See Also