...
The Manager class had a property named Instance, which could be used like this:
Code Block | ||||
---|---|---|---|---|
| ||||
JiwaFinancials.Jiwa.JiwaApplication.Manager.Instance.Logon("MyServer", "JiwaDemo", JiwaFinancials.Jiwa.JiwaODBC.database.AuthenticationModes.JiwaAuthentication, "Admin", password); JiwaApplication.Manager.Instance.BusinessLogicFactory.CreateBusinessLogic<JiwaFinancials.Jiwa.JiwaSales.SalesOrder.SalesOrder>()null; var db = JiwaApplication.Manager.Instance.Database; using (SqlCommand SQLCmd = new SqlCommand(sql, db.SQLConnection, db.SQLTransaction)) { } |
...