I am modifying the N-10-KittensDb solution. I see how to create a SQLite database, but I want to use an existing database. I assume that I need to copy the database to the appropriate user interface data folder. Maybe this was done as part of the Core project? And if so, how is the correct path introduced into the executable? How can Core be used in many user interfaces? Which method is called to see if the database exists or needs to be copied?
Example from DataService:
public DataService(ISQLiteConnectionFactory factory) { const string file = "Cats.sldb"; var connection = factory.Create(file); connection.CreateTable<Kitten>(); }
I think the paths are different from Android vs Phone vs Touch vs Wpf?
Point me to a sample code that uses Cirrious.MvvmCross.Plugins.Sqlite for a phone or Wpf.
Thanks. Dan
source share