Exploring Entity Framework Part 4: The Model First Approach
NOTE: This post is part of a series on Entity Framework 6. To help cut back on overlapping content, this post will not cover any concepts that were previously discussed earlier in the series. If you have not read my previous three posts, you can access them from the links below:
Exploring Entity Framework Part 1: A Brief Overview
Exploring Entity Framework Part 2: The Code First Approach
Exploring Entity Framework Part 3: The Database First Approach
Welcome back everyone! I apologize for the lengthy delay in getting this post out. I had the opportunity to reconnect with old friends over the last few weeks, plus I had family from the south staying over in our guest room (adjacent to my home office).
In my last post I discussed using the database first approach, a nifty method that allows your application’s models to be “managed” by the database it is connected to. Before that, we discussed the Code First Approach, which allowed you to code your own models and have them pushed to the database. Today we will discuss another method that allows you to design your models/tables from your application, but without the nitty gritty programming seen in the Code First Approach. I am of course talking about the Model First Approach, which allows you to design your models with a GUI (Graphical User Interface) in place of code.
In this post, we will cover:
- How to design models with the GUI and push them to a database