public static int InsertResultItem(SQLiteCommand command, DataRecord record, string tableName) { command.CommandText = $"INSERT into '{tableName}'(name, date) values('{record.GetName()}','{record.GetDate().ToString()}');"; command.ExecuteNonQuery(); return(0); }