Tornado API Library - V12.30.08

z.dbUnit Property

Define the a number to provide unique identification to the module.

Product Version

All
[VisualBasic]
PublicPropertydbUnitAsString
[C#]
publicstringdbUnit{set;}

Property Value

Mydb.dbUnit = 123

QuickProp Keyword Abbreviation

u

Remarks

Declaration of dbUnit is mandatory.

Since ASP-db.Net supports multiple modules, the variables associated with each module execution are identified by a unit number attached to the end of the variables. A common mistake is to execute multiple modules without changing the dbUnit hence all the variables are carried over. This property can also be set in dbQP.

Example

Set Unit to 1

 Obj.dbUnit = 1
 Obj.dbQP = "u=1"

See Also

z Class | Tornado Namespace