private TableAdapter GetTableLogUsingThis(IEnumerable <TableAdapterField> fields) { var tableLog = new TableAdapter(); tableLog.CopyBy(_tableLog); tableLog.Collumns.Clear(); tableLog.Collumns.AddRange(fields); return(tableLog); }