FIT5032Recap: Development Workflow
FIT5032Advantages and Disadvantages of Code First•Advantages •Ability to “version” control database via SVN, Git or Mercurial. •Reduces the amount of automatically generated code significantly. •A “developer” centric approach.•Disadvantages •Diﬃcult if new to the C# environment and already know SQL. •Heavily depends on the architecture of the systems in use, using it may be more diﬃcult in scenarios where the database layer is important. 5
FIT5032Advantages and Disadvantages of DB First•Advantages •Assumes that the database design does not change over time. •Knowledge of SQL will make this task significantly easier in comparison to Code First.•Disadvantages •Requires an understanding of SQL to create the Database.