How to access new data

To access new database tables you will need to create new BusinessObjects and DataProvider classes.

Create a BusinessObject class

There are three options for you to begin:

Criminal business object sample code walkthrough

The business object Criminal represents the table Criminal, which is created in How to create/edit a database table.

Create a DataProvider class

As with the data entities there are three options for you to begin.

CriminalData data provider code walkthrough

The CriminalData data provider is located in the sample plugin Criminal at Criminal Ø DataLayer Ø CriminalData.cs. This is a good example of a simple data provider class implementation that you can use as a basis for your own data providers.