DBTypeDefinitionSetDBType Method (Int32, DBDriverBase, String, String, String, Type, Int32, Int32, Int32) |
Sets the DBtype of this typedefinition and all values related to it which are retrievable from the driver specified.
Namespace:
SD.LLBLGen.Pro.DBDriverCore
Assembly:
SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.7.0.0 (5.7.0)
Syntax public void SetDBType(
int newDBType,
DBDriverBase driverToUse,
string udtCatalog,
string udtOwner,
string udtName,
Type udtNETType,
int length,
int precision,
int scale
)
Public Sub SetDBType (
newDBType As Integer,
driverToUse As DBDriverBase,
udtCatalog As String,
udtOwner As String,
udtName As String,
udtNETType As Type,
length As Integer,
precision As Integer,
scale As Integer
)
Parameters
- newDBType
- Type: SystemInt32
New type of the DB. - driverToUse
- Type: SD.LLBLGen.Pro.DBDriverCoreDBDriverBase
The driver to use. - udtCatalog
- Type: SystemString
The udt catalog if the type is an udt type, otherwise string.Empty. - udtOwner
- Type: SystemString
The udt owner if the type is an udt type, otherwise string.Empty. - udtName
- Type: SystemString
Name of the udt if the type is an udt type, otherwise string.Empty. - udtNETType
- Type: SystemType
.NET Type of the udt, or null if the type isn't an UDT type. - length
- Type: SystemInt32
The length. - precision
- Type: SystemInt32
The precision. - scale
- Type: SystemInt32
The scale.
See Also