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

dbQP Abbr: u
Version: All

Namespace:  Tornado
Assembly:  Tornado (in Tornado.dll) Version: 12.6.0.9 (1.0.0.0)

Syntax

C#
public string dbUnit { get; set; }
Visual Basic (Declaration)
Public Property dbUnit As String

Field Value

Mydb.dbUnit = 123

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.

Examples

Set Unit to 1
CopyC#
Obj.dbUnit = 1
Obj.dbQP = "u=1"

See Also