Tag Archives: entity-framework

Setting up Entity Framework with Code First and Code Migrations

The Entity Framework is a Microsoft created Framework that allows developers to easily retrieve data from database.

From Microsoft:

Entity Framework (EF) is an object-relational mapper that enables .NET developers to work with relational data using domain-specific objects. It eliminates the need for most of the data-access code that developers usually need to write.

Entity Framework supports the Code First approach, which means you can develop an application focusing on your code. You can define your models and the framework will generate the database from it. You can work with a database without writing a single SQL line. Continue reading