Torna al Thread
public List<string> recuperaRecord(List<string> elencoPersone)
{
List<string> listaRicette = new List<string>();
string strSQL = creaSQL(elencoPersone);
if (strSQL == "errore")
{
//Se non è inserita neanche una persona non vale la pena fare la ricerca e restituisce la lista vuota
return new List<string>();
}
try
{
using (var connection = new SQLitePCL.SQLiteConnection(Windows.Storage.ApplicationData.Current.LocalFolder.Path + "\\prova.db"))
{
var statement = connection.Prepare(strSQL );