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

Access: Public
Base Classes: DBInteractionBase
  Members Description  
    _attachmentID    
    _attachmentIDOld    
    _requestID    
    _requestIDOld    
    _requestAttachmentID    
    RequestAttachment 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.

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

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

 
    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.

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

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

 
    RequestAttachmentID    
    RequestID    
    requestIDOld    
    AttachmentID    
    attachmentIDOld