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 O’Reilly online learning.

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