Example #1
0
        public Employee GetEmployee(int id)
        {
            LoadEmployeeOperation operation = new LoadEmployeeOperation(id, connection);

            operation.Execute();
            return(operation.Employee);
        }
 private DataRow LoadData()
 {
     if (tableName != null)
     {
         return(LoadEmployeeOperation.LoadDataFromCommand(Command));
     }
     else
     {
         return(null);
     }
 }