mercredi 22 avril 2015

Xamarin SQLite PCL implementation

I'm creating a Xamarin application with a PCL and I would like to use SQLite in the PCL to share the database code within the platform specific projects.

I've already looked into the Tasky Portable project, where they are using an abstract class to reach this goal. I've had some trouble implementing this method, which is why I was looking for another solution to use SQLite within a PCL. I stumbled upon an Xamarin Forms article where they are using the SQLite PCL NuGet package to implement it in a PCL.

Since I'm not using Xamarin Forms, what is the difference between these two methods? Can the NuGet package solution also be used to implement SQLite within the PCL without using Xamarin Forms? This method seems a lot simpler than the abstract class.

Aucun commentaire:

Enregistrer un commentaire