lundi 29 septembre 2014

Is it possible to write to more than 1 table per file using Service Stack Ormlite Sqlite?


Vote count:

0




I have been using the awesome Service Stack Ormlite Sqlite library for a while now and has always persisted 1 table to 1 SQLite DB file.


Is it possible to persist 2 or more tables to 1 SQLite DB file? e.g.



using (var db = connFactory.OpenConnection("My.db"))
{
db.InsertAll<Employee>(employees);
db.InsertAll<Manager>(managers);
}


asked 1 min ago

MaYaN

514






Is it possible to write to more than 1 table per file using Service Stack Ormlite Sqlite?

Aucun commentaire:

Enregistrer un commentaire