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

Access: Public
Base Classes: DBInteractionBase
  Members Description  
    _departmentID    
    _departmentIDOld    
    _personID    
    _personIDOld    
    _categoryID    
    _name    
    _code    
    Category 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.

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

 
    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.

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

 
    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'

 
    CategoryID    
    Name    
    Code    
    DepartmentID    
    departmentIDOld    
    PersonID    
    personIDOld