Entity Framework Power Tools: Entity Framework Power Tools (currently in beta 3) has been released. EF Power Tools is useful mainly in reverse engineering and generating read-only entity data model for code-first. Download and install Power Tools fro…
Entity Framework Architecture The following figure shows the overall architecture of the Entity Framework. Let us now look at the components of the architecture individually: EDM (Entity Data Model): EDM consists of three main parts - Conceptual mode…
Add New Entity using DBContext in Disconnected Scenario: In this chapter you will learn how to add new entity in DbContext in the disconnected scenario, which in turn inserts a new row in a database table. If you use Database-First approach, then cre…
Entity Lifecycle: Before we work on CRUD operation (Create, Read, Update, Delete), it's important to understand the entity lifecycle and how it is being managed by the EntityFramework. During an entity's lifetime, each entity has an entity state base…