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

Access: Public
Base Classes: DBInteractionBase
  Members Description  
    _powerID    
    _powerIDOld    
    _userPowerID    
    _userID    
    _userIDOld    
    UserPower 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.

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

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

 
    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.

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

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

 
    UserID    
    userIDOld    
    UserPowerID    
    PowerID    
    powerIDOld