Code-First or Database-First, how to choose?

后端 未结 11 1259
盖世英雄少女心
盖世英雄少女心 2020-12-23 16:34

Let us suppose we are going to start new project - application that contains some business logic, user interface on ASP.NET, WPF or both of them. We\'d like to use ORM or DA

11条回答
  •  萌比男神i
    2020-12-23 17:07

    There are 3 important aspects that need to be considered when developing a database application...

    1. User Experience
    2. Data Quality
    3. Cost to maintain the first two (User Experience, and Data Quality)

    I believe the priority of these three items are expressed in the order they are presented, meaning the highest priority is User Experience, the second highest priority is data quality, and the third is the cost to do so. Of course these can be debated, but the notion of code first or database first is relative to the third priority - the cost. Whatever the choice is - code first or database first, ensure the first two priorities are fulfilled...

提交回复
热议问题