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

Access: Public
Base Classes: DBInteractionBase
  Members Description  
    _personID    
    _personIDOld    
    _locationID    
    _locationIDOld    
    _machineID    
    _name    
    _iPAddress    
    Machine 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.

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

 
    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.

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

 
    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'

 
    MachineID    
    LocationID    
    locationIDOld    
    IPAddress    
    Name    
    PersonID    
    personIDOld