Protocol.Covington.WorkRequest.DAL.Department Class
Purpose: Data Access class for the table 'Department'.

Access: Public
Base Classes: DBInteractionBase
  Members Description  
    _personID    
    _personIDOld    
    _departmentID    
    _code    
    _name    
    Department Purpose: Class constructor.

 
    Insert Purpose: Insert method. This method will insert one new row into the database.

 
    Update Purpose: Update method. This method will Update one existing row in the database.

 
    UpdateAllWPersonIDLogic Purpose: Update method for updating one or more rows using the Foreign Key 'PersonID. This method will Update one or more existing rows in the database. It will reset the field 'PersonID' in all rows which have as value for this field the value as set in property 'personIDOld' to the value as set in property 'personID'.

 
    Delete Purpose: Delete method. This method will Delete one existing row in the database, based on the Primary Key.

 
    SelectOne Purpose: Select method. This method will Select one existing row from the database, based on the Primary Key.

 
    SelectAll Purpose: SelectAll method. This method will Select all rows from the table.

 
    SelectAllWPersonIDLogic Purpose: Select method for a foreign key. This method will Select one or more rows from the database, based on the Foreign Key 'PersonID'

 
    DepartmentID    
    Name    
    Code    
    PersonID    
    personIDOld