Category Archives: Entity Framework

Asp.Net MVC3 Controller with Entity Framework CodeFirst

CodeProject We already discussed about the Controllers and Routers in ASP.Net MVC 3. In this article, we will look little deeper into Controllers and Razor Views. Introduction to ASP.NET MVC 3 Controllers and Routers in ASP.NET MVC 3 Actions in … Continue reading

Posted in ASP.Net, Entity Framework, MVC | Tagged , , , | Leave a comment

EntityFramework CodeFirst – DbContext Initializer

CodeProject We already discussed about the EntityFramework CodeFirst approach and how we can generate the database out of the Code in http://www.dotnetfunda.com/articles/article1358-entity-framework-codefirst-model-.aspx  Now, let us see how we can handle the changes to the class, which is the base class … Continue reading

Posted in Entity Framework | Tagged , , | Leave a comment

Entity Framework – CodeFirst Approach

Entity Framework supported the development of applications using Schema first and Model First approach. Now, the new Entity Framework introduced the Code First approach. In Code First approach, we are creating the code first and the Entity framework will automatically … Continue reading

Posted in C#, Entity Framework | Tagged , , | Leave a comment