public void UpdateOverwievFile(DBOverviewFileTO item) { SQLiteConnection connection = GetConnection(); connection.CreateTable <DBOverviewFileTO>(); connection.Update(item); }
public void AddOverwievFile(DBOverviewFileTO item) { bool flag_added = true; SQLiteConnection connection = GetConnection(); connection.CreateTable <DBOverviewFileTO>(); var table = connection.Table <DBOverviewFileTO>(); foreach (var pp in table) { // Console.WriteLine (pp.name + ", " + pp.session); } if (flag_added) { connection.Insert(item); } }