37. The Payroll Case Study: The Database

image

“Experts often possess more data than judgement.”

—Colin Powell

In previous chapters, we implemented all the business logic for the payroll application. That implementation had a class, PayrollDatabase, that stored all the payroll data in RAM. This worked fine for our purpose at the time. However, it seems obvious that this system will need a more persistent form of data storage. This chapter explains how to provide that persistence by storing the data in a relational database.

Building the Database

The choice of database technology is usually made more for political reasons than for technical reasons. ...

Get Agile Principles, Patterns, and Practices in C# now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.