Book Image

Xamarin Mobile Application Development for Android

Book Image

Xamarin Mobile Application Development for Android

Overview of this book

Table of Contents (18 chapters)
Xamarin Mobile Application Development for Android Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Using the SQLite.net ORM component


SQLite.NET Object Relational Mapping (ORM) is an open source library that allows .NET and Mono applications to store data objects in the SQLite database. It is a lightweight and easy to use component that allows you to save and retrieve data objects, without having to worry about writing any SQL query. This is a free component available in the Xamarin Component Store. It was earlier designed to work for MonoTouch on iPhone, but later it was extended to support other platforms, including Android, Windows, and Silverlight platforms. Thanks to Frank A. Krueger for developing and maintaining this component.

There are three ways to add SQLite.NET ORM to the Xamarin application. Either you can add it by downloading the required files from the GitHub open source code repository, NuGet, or the Xamarin Component Store:

  • SQLite.NET is a very thin library with a single file. Download the SQLite.cs file from GitHub and add it to your application. The SQLite.NET library...