The table is not only about columns. We need to specify the data types, the length of the each column, Primary Key, Foreign Key ETC. In EF this can be achieved by three ways. By using Default Conventions, Configurations (Data annotations or Fluent API) or using Custom Code Conventions
In this tutorial we wil discuss the various Database Initializer in Entity Framework
In this tutorial we will find out how the EF determines how and where to create the database.
In this tutorial let us build our application using ASP.NET MVC code first approach of entity framework. In our last tutorial we have created Code first example application, which is a console application. It is very important that you read that Tutorial first, before continuing with this Tutorial. We are going to use the same user domain class and show you how to build a simple CRUD application using ASP.NET MVC.
In this tutorial let us create a simple application to demonstrate the use of entity framework using code first