|HomeAbout SSDMBusiness BenefitsSSDM = Methodology + Technology + Assistance|| Developer's Corner|
- Requirements Capture
- UML Static Data Model
- Application Design
- Sibilo Software Development Environment (Sibilo.SDE)
- Sibilo.DBL Programming
- Core Objects
6.2.1 Common Constructors
There are 2 common constructors for SSDM objects. Both of them require passing an instance of the CApp class. The basic constructor for CUser, for example, is:
Dim oUser As New CUser()
If you know the ID of an object, you can use it while constructing the object so that the object’s properties are loaded.
Dim oUser As New CUser(103)
SSDM classes can have additional constructors.
SSDM supports the data from multiple instances of an application to be stored in a single database. To support this, the above methods can also be used as follows;
Dim oUser As New CUser(App)
Dim oUser As New CUser(App, 103)
When the App object is not passed into the object, the default application is used. For the sake of simplicity, this guide will only show the use of methods with the default application.