1.3.2.Database First v.s. Code First

1. Database/DB fist

  • Database -> Entity Framework -> Domain classes

2. Code fist

  • Domain classes -> Entity Framework -> Database

  • Pros:

    • 1.Increased creativity

    • 2.Full versioning of database

    • 3.Mush easier to build an integration test db

  • Cons:

Last updated