Exemplo n.º 1
0
        private void GetFromBase_Click(object sender, RoutedEventArgs e)
        {
            if (employeeList.Count > 0)
            {
                employeeList.Clear();
            }

            if (departmentList.Count > 0)
            {
                departmentList.Clear();
            }

            if (workersList.Count > 0)
            {
                workersList.Clear();
            }

            SQLer.ExecuteEmployee(employeeList);
            SQLer.ExecuteDepartament(departmentList);
            SQLer.ExecuteWorkers(workersList, departmentList, employeeList);
        }
Exemplo n.º 2
0
 public void ResetWorkersList()
 {
     workersList.Clear();
     SQLer.ExecuteWorkers(workersList, departmentList, employeeList);
 }