Entity Framework
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.

RECENT POSTS

  • Unit Testing With InMemory Provider And SQLite In-Memory Database In EFCore

    Writing Unit Test Cases is an essential aspect for any software development which helps us to test small building block an application. While doing development, we write test cases side by side, ju...
  • Understanding Entity Framework Core And Code First Migrations In EF Core

    In the previous articles (data access approach, code first approach, and WebAPI) we learned a lot about entity framework and its practical implementations. The intent of this article is to explain ...
  • Data Access Approaches Of Entity Framework

    The intent of this article is to explain the three data access approaches that Microsoft’s Entity Framework provides. There are several good articles on the internet on this topic, but I would like...
  • Code First Approach And Code First Migrations In Entity Framework

    The intent of this article is to explain the code first approach and code first migrations that Microsoft’s Entity Framework provides. In my last article I explained the theory behind entity framew...
  • Learning Web API 2 With Entity Framework 6 Code First Migrations

    In the last article of learning Entity Framework, we learned the code-first approach and code-first migrations. In this article, we’ll learn how to perform CRUD operations with ASP.NET Web API2 and...
  • Integrating MySQL With Visual Studio Using Entity Framework

    The article describes the way to establish the proper environment in which one can integrate MySQL with Visual Studio using Entity Framework.
  • Difference Between First() And FirstOrDefault()

    The major difference between First and FirstOrDefault is that First() will throw an exception if there is no result data for the supplied criteria whereas FirstOrDefault() returns a default value (...
  • Multiteancy Implementation On Single Database With Same Schema

    Most of the people are implementing Multi-Tenancy using multiple databases, hence it's a good practice to distinguish tenant data on different databases. But in some cases, we have to implement...
  • EF Code-First Approach Vs Database-First Approach

    Let us discuss some of the advantages and disadvantages of Code-First approach and Database-First approach of Entity Framework.
  • Execute Stored Procedure In Entity Framework

    In EF (Entity Framework), there are mainly two ways to execute the stored procedure.
  • Introduction To Entity Framework And Entity Framework Core

    As per our old EF, we are using both the approaches that first create classes then you run it or compile it. It will create the database automatically. And the second approach first creates a datab...
  • Entity Framework In MVC - Part Eight

    In the previous article, I have explained One- to- One relationship of code first approach in Entity Framework. In this article, I will explain one –to- one and one- to - Many relationships in code...
  • Entity Framework In MVC - Part Seven

    In the previous article, I explained, how to perform CRUD and how to perform searching functionality using the code-first approach and Repository using single table. In this article, I will explain...
  • CRUD Operation With Repository And Database Initialization In Code First Approach In MVC - Part Six

    In the previous article, I explained about Code First Migrations and how enable Code First Migrations. In this article, I will explain How to perform CRUD and how to perform searching functionality...
  • Code First Migration In Entity Framework - Part Five

    In the previous article, I have explained how to implement a code first approach with a CRUD operation when we don’t have an existing database. In this article, I will explain about Code First Migr...
  • Code First Approach With CRUD Operation In Entity Framework In MVC - Part Four

    In previous article, I have explained how to implement code first approach when we have existing database. Now, I will explain that how to implement code first approach when we don’t have existing ...
  • Entity Framework In MVC - Part Three

    In this article, I will explain how to implement code first approach in MVC. When we run the application then, Code First will create the new database and tables according to our domain classes. Wh...
  • Entity Framework In MVC - Part Two

    In this article, I will explain how to use code first approach of entity framework in console application C#.
  • Entity Framework In MVC - Part One

    I will give a brief introduction about Entity framework and how to implement entity framework in MVC.
  • Entity Framework Core 2.1 Announced

    Recently, Microsoft has announced the release of Entity Framework Core 2.1 which is the latest production-ready release of the open-source and cross-platform data access technology.
  • Learn EF Core 2.1 Features

    EF Core 2.1 is the latest version of Entity Framework Core announced at Build 2018. Here is a list of new features in this verision.
  • Entity Framework, Its Approaches, And How It Maps The Conceptual Schema With Storage Schema

    It is a tool to access the database. More accurately, it’s classified as an Object/Relational Mapper (ORM) which means it maps data in a relational database into objects of our applications.
  • MVC CRUD Operations Using Entity Framework

    In this article I am going to talk about MVC CRUD Operations Using Entity Framework 6 without writing any code. First, you should learn about MVC and the basics of Entity Framework.
  • Shadow Properties In Entity Framework Core

    Entity framework core added many new features that are already present in older entity framework versions. One of the features of Entity framework core is "Shadow Properties". The feature...
  • Table Splitting In Entity Framework Core 2.0

    One of the major benefits of the Entity Framework is that our entity model does not need to match our database model. With Table Splitting, it is possible to map multiple entities to the single dat...
  • View More