project BLF > class Persistence Layer > method ConnectDB

Description

Connect a database


Parameters


icDBinputcharacterPhysical database name.
icConnectinputcharacterConnect parameters
ihClassinputhandleHandle to the class that is using the persistence layer. In most of the cases, this handle will be available in the preprocessor {&TARGETPROCEDURE}.
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


BLF
method other.MainBlock
method Progress.MainBlock


program code (program2/persistence.p)