Xamarin SQLite Tutorial Xamarin.ios Project Add Reference
Using direct access to the SQLite database, you need to import the System.Data and Mono.Data.SQlite libraries into the project you created. The following sections explain how to add the corresponding references in the Xamarin.ios and xamarin.android projects respectively.
Xamarin.ios Project Add Reference
In the Xamarin.ios project, the steps to import the System.Data and Mono.Data.SQLite libraries are as follows:
(1) Open the Xamarin.ios project, such as the Iossqlitedemo project.
(2) In the Project Solution Panel, right-click the References branch and select the Add Reference (R) ... command, which pops up the Reference Manager dialog box, shown in 1.1.
(3) Select the System.Data and System.Data.SQLite libraries. Click the OK button, at which point System.Data and Mono.Data.SQLite are added to the project's reference.
Figure 1.1 Reference Manager dialog box
Xamarin SQLite Tutorial Xamarin.ios Project Add Reference