Pass Base Parameters to all DB Calls
Overview: There are many routines that need to utilize multiple session based parameters that should always be available.
CONTACT.NBR
BILLTO.NBR
OPERATOR
PORT.MARKER
PORT.NBR
Process:
- Add properties to IBaseService, BaseService, IBaseRepository, and BaseRepository
- ContactNbr
- BilltoNbr
- Operator
- PortNbr
- PortMarker
- Create a method called SetBaseProperties on the IBaseService and BaseService that accepts all the new properties and sets the properties to the passed in values.
- Everywhere we initialize a service (e.g.:Controllers) we call this new method to initialze the base parames transparently.
- In BaseRepository.finalizeParameters add these properties just like TestPlan and