DBTypeDefinitionSetDBType Method (Int32, DBDriverBase, String, String, String, Type, Int32, Int32, Int32, Boolean) |
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.13.0.0 (5.13.25.1117)
Syntaxpublic void SetDBType(
int newDBType,
DBDriverBase driverToUse,
string udtCatalog,
string udtOwner,
string udtName,
Type udtNETType,
int length,
int precision,
int scale,
bool forDatabaseFirst = false
)
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,
Optional forDatabaseFirst As Boolean = false
)
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. - forDatabaseFirst (Optional)
- Type: SystemBoolean
if true, the call is for a database first action. This is passed onto the driver
See Also