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.

Blogs

  • 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...
  • Transactions In Entity Framework

    In this blog, we will be talking about how transactions take place in Entity Framework.
  • Verify Database Prior To Data Insertion Using EF

    This blogs talks about how to verify DB schema before doing insert operation via Entity Framework.
  • Logging Database Operations To File In Entity Framework 6

    Here, you will learn how to log the database operation to files in Entity Framework 6
  • How To Validate The Entity Framework Generated Database Connection String Before Starting An Appl...

    Here we going to discuss, how to validate the entity framework connection string in c#. Here we going to discuss, how to validate the entity framework generated database connection string in c# bef...
  • Entity Vs Model Vs ViewModel Vs DataModel

    Different people define Entity, Model, ViewModel and DataModel in different ways. However, these terms may sometimes differ from their actual meaning, based upon the context. However, through this ...
  • Colored Entities With EntityFramework

    In this blog, we are going to see how to apply the colors for the entities in an Entity Framework.
  • Generic Repository Pattern With Web-API And Entity Framework

    Repository pattern represents "Don’t repeat yourself", So now, we will see how the code is avoided by repeating ourselves.
  • Implement Database First Approach with Entity Framework

    In this blog, we going to learn about the database first approach. If we want to perform business operations with the existing database, it's better to go with database first approach to avoid ...
  • Code First Approach Using Entity Framework

    In this blog, you will learn about Code First Approach, using Entity Framework.
  • Overview Of Entity Framework

    In this blog, you will learn about Entity Framework.
  • Creating Web API Using Entity Framework With LINQ Query In MVC 4

    In this blog I am showing how to create Web API using Entity Framework with LINQ Query in .NET MVC 4.