Workflows of Entity Framework

By | October 25, 2018

There are three workflows to build a domain model using Entity Framework. They are

  1. Database First
  2. Code First
  3. Model First

1. Database First

In this case we start with the database. Here-

  • At first we design our tables
  • Then Entity Framework generates domain classes based on the database

This is the traditional approach that a lot of developer works in this approach.

2. Code First

In this case we start with the code. Here-

  • First of all we create our domain classes
  • Then Entity Framework generates database tables based on those domain classes

3. Model First

In this case we start with visual diagramming. Here-

  • First of all we use visual designer in visual studio to model our classes and their associations- some kind of UML diagram
  • Then Entity Framework generates domain classes and database based on these diagrams

 

17 Total Views 1 Views Today
Md. Mojammel Haque

CSM, CSPO, CSD, CSP-SM, CSP-PO (ScrumAlliance.org)
Certification Profile Link-
https://www.scrumalliance.org/community/profile/mhaque13

Currently working as Lead Team (Application Architecture) at Raven Systems Ltd. Passion for software development especially agile practices such as TDD with in depth knowledge of Object Oriented Programming, SOLID Principles, Gang of Four Design Patterns, Some Enterprise Application Architectural Patterns. Over 8 years of software development experience ASP.NET. Has the ability to understand and transform complex business requirements into software ensuring applications are delivered on time. Also experience in non Microsoft .NET technologies such as Dapper.Net, Git, Structure Map & Angular, Bootstrap, HTML-5, CSS-3 etc.

Category: Entity Framework
Md. Mojammel Haque

About Md. Mojammel Haque

CSM, CSPO, CSD, CSP-SM, CSP-PO (ScrumAlliance.org) Certification Profile Link- https://www.scrumalliance.org/community/profile/mhaque13 Currently working as Lead Team (Application Architecture) at Raven Systems Ltd. Passion for software development especially agile practices such as TDD with in depth knowledge of Object Oriented Programming, SOLID Principles, Gang of Four Design Patterns, Some Enterprise Application Architectural Patterns. Over 8 years of software development experience ASP.NET. Has the ability to understand and transform complex business requirements into software ensuring applications are delivered on time. Also experience in non Microsoft .NET technologies such as Dapper.Net, Git, Structure Map & Angular, Bootstrap, HTML-5, CSS-3 etc.

Leave a Reply

Your email address will not be published. Required fields are marked *