DBDriverBaseGetCompatibleDBTypeDefinitionsForNetType Method (Type, Int32, Int32, Int32, String) |
Gets a List of all DBTypeDefinition instances which are compatible with the type specific information passed in. The first DBTypeSpecification is the
default type specification to user.
Namespace:
SD.LLBLGen.Pro.DBDriverCore
Assembly:
SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.4.0.0 (5.4.0)
Syntax public virtual List<DBTypeDefinition> GetCompatibleDBTypeDefinitionsForNetType(
Type netType,
int precision,
int scale,
int length,
string dbTypeHint
)
Public Overridable Function GetCompatibleDBTypeDefinitionsForNetType (
netType As Type,
precision As Integer,
scale As Integer,
length As Integer,
dbTypeHint As String
) As List(Of DBTypeDefinition)
Parameters
- netType
- Type: SystemType
Type of the net. - precision
- Type: SystemInt32
The precision. - scale
- Type: SystemInt32
The scale. - length
- Type: SystemInt32
The length. - dbTypeHint
- Type: SystemString
The db type hint. If specified, this is the db type to select.
Return Value
Type:
ListDBTypeDefinition
List with 0 or more DBTypeDefinition instances filled with the right DB type information based, on the data passed in
Remarks Default implementation creates DBTypeDefinition instances based on the lookup tables in the driver.
See Also