DBDriverBase.GetCompatibleDBTypeDefinitionsForNetType 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.9.0.0 (5.9.0)
Syntaxpublic 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: System.Type
Type of the net. - precision
- Type: System.Int32
The precision. - scale
- Type: System.Int32
The scale. - length
- Type: System.Int32
The length. - dbTypeHint
- Type: System.String
The db type hint. If specified, this is the db type to select.
Return Value
Type:
List<DBTypeDefinition>
List with 0 or more DBTypeDefinition instances filled with the right DB type information based, on the data passed in
RemarksDefault implementation creates DBTypeDefinition instances based on the lookup tables in the driver.
See Also