Persistence of ALT.Net

In the previous chapter we managed to have a good discussion about DDD without talking much about databases. If you’re used to programming with DataSets, you probably have a lot of questions about how this is actually going to work. DataSets are great in that a lot is taken care of for you. In this chapter, we’ll start the discussion around how to deal with persistence using DDD. We’ll manually write code to bridge the gap between our C# objects and our SQL tables. In later sections, we will look at more advanced alternatives (two different O/R mapping approaches) which, like DataSets, do much of the heavy lifting for us. This chapter is meant to bring some closure to the previous discussion while opening the discussion on more advanced persistence patterns.

"CODD'S AIM WAS TO FREE PROGRAMMERS FROM HAVING TO KNOW THE PHYSICAL STRUCTURE OF DATA. OUR AIM IS TO FREE THEM IN ADDITION FROM HAVING TO KNOW ITS LOGICAL STRUCTURE. – LAZY SOFTWARE "
Previous
Next Post »