Click or drag to resize

DBTypeDefinition.SetDBType 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.6.0.0 (5.6.19.0117)
Syntax
public void SetDBType(
	int newDBType,
	DBDriverBase driverToUse,
	string udtCatalog,
	string udtOwner,
	string udtName,
	Type udtNETType,
	int length,
	int precision,
	int scale
)

Parameters

newDBType
Type: System.Int32
New type of the DB.
driverToUse
Type: SD.LLBLGen.Pro.DBDriverCore.DBDriverBase
The driver to use.
udtCatalog
Type: System.String
The udt catalog if the type is an udt type, otherwise string.Empty.
udtOwner
Type: System.String
The udt owner if the type is an udt type, otherwise string.Empty.
udtName
Type: System.String
Name of the udt if the type is an udt type, otherwise string.Empty.
udtNETType
Type: System.Type
.NET Type of the udt, or null if the type isn't an UDT type.
length
Type: System.Int32
The length.
precision
Type: System.Int32
The precision.
scale
Type: System.Int32
The scale.
See Also