//TODO utile per recuperare i report locali in progress public static DataRow[] ReadBy(string filter) { LocalTestTableTableAdapter adapter = new LocalTestTableTableAdapter(); LocalTestDatabaseDataSet.LocalTestTableDataTable localTestTableDataTable = adapter.GetData(); return(localTestTableDataTable.Select($"Userid = '{filter}'")); }
public static void Save(int id, string userId, string title, bool completed) { LocalTestTableTableAdapter adapter = new LocalTestTableTableAdapter(); adapter.Insert(id, userId, title, completed); }