Code First Development
Code First development is the direct application of Domain Driven Design where the flow of the application is driven by the domain and not by the database. Usually this type of approach is accomplished when the database hasn't been designed yet or isn't legacy, so that the datastore has some flexibility that allows you to model the domain in a better way.
As noted earlier, the DDD approach requires a graph of objects that is business-centric. Moreover, with DDD, the domain is totally unaware about the persistence techniques. So, in contrast to the previous AR pattern, with the domain first approach you work on the domain without caring about the datastore. At the end of the development process, when the domain is ready, ...
Get Applied WPF 4 in Context now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.