Xamarin SQLite Tutorial Xamarin.ios Project Add Reference

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.