A Pure Object-oriented Domain Model by a DB Guy, Part 3 : Page 2
This is the third in a series of articles by Jimmy Nilsson on a new architecture for enterprise applications in .NET. The new architecture is purely object-oriented, while still focusing on roundtrips and the data access code to get good performance. In this article, Jimmy will discuss the new architecture from the consumer perspective and show how it can be used for solving a simple, yet typical, use case.
by Jimmy Nilsson
Apr 28, 2003
Page 2 of 3
The Consumer Code
Instead of spending a lot of talking, this time I’ll go directly to the code from my test class where I use the OrderRegistration class. I’ll take it from top to bottom, starting with the main method in Listing 1.