Entity Framework Blogs

Devmate's Blog

Entity Framework - improve query performance - potential problems

This the first post from series where I am going to describe ways to create more performant queries using an Entity Framework 6.

Entity Framework - Contains() on empty collection.

SQL query that is generated when you make a contains on an empty collection

Entity Framework - the query plan cache story

Investigation of performance issues in an application with Entity Framework as data access technology.

See more Devmate’s posts…

Dixin's Blog

Entity Framework/Core and LINQ to Entities (1) Remote Query

This chapter discusses a different kind of LINQ technology, LINQ to Entities, which queries relational data managed by databases.

Entity Framework/Core and LINQ to Entities (2) Modeling Database: Object-Relational Mapping

Object-relational mapping is a popular technology to map and convert between application data objects and database relational data.

Entity Framework/Core and LINQ to Entities (3) Logging and Tracing Queries

To understand how EF/Core work with databases, it is important to uncover the actual underlying operations to the SQL database, which can be traced or logged in C# application side and in SQL database.

See more Dixin’s posts…

.Net Blog

Entity Framework 6.2 Runtime Released

Entity Framework (EF) is Microsoft's traditional object/relational mapper (O/RM) for .NET Framework.

Announcing Entity Framework Core 2.0

Entity Framework (EF) Core is the lightweight, extensible, and cross-platform version of Entity Framework, the popular Object/Relational Mapping (O/RM) framework for .NET.

Implementing Seeding, Custom Conventions and Interceptors in EF Core 1.0

Entity Framework Core (EF Core) is a lightweight and extensible version of the Entity Framework (EF) data access technology which is cross-platform and supports multiple database providers.

See more posts…

Tony Sneed's Blog

It's here! Trackable Entities for EF Core!

Trackable Entities project track changes to an object graph as you update, add and remove items, then send those changes to a back-end service where they can be saved in a single transaction.

EF 6.x Code-First and Model-First with Trackable Entities 2.1

The advantage of the consolidated designer is that you can pick and choose which tables you want, versus generating classes for all the tables in your database

Real-World MVVM with Entity Framework and ASP.NET Web API

I just completed a sample application using Simple MVVM Toolkit together with Trackable Entities to build a real-world N-Tier solution with a WPF client and portable POCO entities that are automatically change-tracked and sent to an ASP.NET Web API service that uses Entity Framework to perform asynchronous CRUD operations.

See more TonySneed’s posts…

JetBrains Blog

Running Entity Framework (Core) commands in Rider

How can we run Entity Framework commands like adding migrations or updating the database, in Rider?

Webinar - When Hadi Met Julie: A Story of Entity Framework, ReSharper, a Spaniard and The Data Farm Queen

When Hadi tried to create an Entity Framework app, he realized just how bad of a noob he really was (not surprising). He then decided to call on a favor to Julie, the Data Farm Queen.

See more JetBrains’s posts…

Telerik's Blog

Telerik ASP.NET AJAX Controls and Entity Framework 6 - Buttery Smoothness

Microsoft didn't provide support for the Entity Framework Data Source in ASP.NET when the updated Entity Framework 6 (EF6) framework released. In this article, Jeff Fritz shows you how Telerik is supporting the recently released EF6 support for ASP.NET web forms.

Using Entity Framework with Telerik Reporting and Report Designer (OBSOLETE)

This article outlines how to use newer versions of Entity Framework (EF) with Telerik Reporting as well as the stand-alone Telerik Report Designer.

Connecting Telerik Reporting to SQL Azure via Entity Framework

In this blog post from the series we discussed how to connect Telerik Reporting to a SQL Azure database using Open Access ORM with the OpenAccessDataSource component.

See more Telerik’s posts…

CSharpCorner's Blog

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 Application

Here we going to discuss, how to validate the entity framework generated database connection string in c# before starting an application.

See more CSharpCorner’s posts…

OneUnicorn's Blog

Many-to-many relationships in EF Core 2.0 - Part 1: The basics

As of EF Core 2.0, many-to-many relationships without an explicitly mapped join table are not supported. However, all is not lost.

Add, Attach, Update, and Remove methods in EF Core 1.1

EF Core provides a variety of ways to start tracking entities or change their state. This post gives a brief overview of the different approaches.

EF Core 1.1: Looking at your model in the debugger

As developers on the EF team it is often useful to see what is in the metadata model. To facilitate this, the model and all other metadata elements are able to generate a debug view which provides lots of useful information about the metadata in a terse but human-readable form.

See more OneUnicorn’s posts…

MitchelSellers's Blog

Confronting Your Entity Framework Performance Fears

The most common thing I hear from developers that haven't worked with Entity Framework is that it performs slowly on large sets of data. Although I have heard this numerous times, in reality, it has never turned out to be an Entity Framework issue, but more of an education/adoption issue and simple coding style changes resolve the issues.

Entity Framework Core & Complex Projects

For those migrating to Entity Framework Core (EFCore) the online documentation is very helpful for the most basic of projects. However, as you work to create more complex applications, things can get more complicated.

Using Entity Framework with Legacy Databases

I have worked with many people that have thought we have a legacy database setup, we can't use entity framework or we cannot use migrations, so we can't use code first. Both are very common misconceptions, but something that isn't the case.

See more MitchelSellers’s posts…

eCanarys's Blog

ASP.NET: Audit Trail Implementation using Entity Framework

When you are working with certain projects which involves the Customer records, you might need to track of each and every addition/change made to system along with who create, modify and delete the records.

Entity Framework CodeFirst Approach

Entity Framework is an enhancement to an existing ADO.Net technique and ORM framework we used for Microsoft technologies.

Entity Framework Code First

In Code First approach, you avoid working with visual model designer (EDMX) completely. You write your POCO classes first and then create database from these POCO classes.

See more eCanarys’s posts…

Gil Fink's Blog

Getting Started With Entity Framework

In this post and on the following I'm going to write about the ADO.NET Entity Framework. To those who wait for the design pattern posts, I'm going to continue writing about design patterns as well.

Entity Data Model (EDM) In Entity Framework

In the last post about entity framework I wrote an introduction about the framework. Today I'm going to dive into the heart of the framework, i.e. the entity data model (EDM).

Schema Definitions Of EDM In Entity Framework

In this post, I'm going to explain a little about the bits and bites of the new XML schema types which describe the models.

See more Gil Fink’s posts…

Prashant Brall's Blog

POCO and Entity Framework

I have been playing around with Entity Framework 4 and was intrigued by the POCO support in it, as the new version is CTP 4.0 and we might be approaching the RTM version soon so I thought i will collate my experiences and gotchas on how to use them.

POCO and Entity Framework:Using Complex Types

I will update my code from the previous post with CTP 5 changes and will introduce some real life project scenarios as well.

EF Code First: Managing relationships

In this post I will show how easy it is to manage relationships between entities using the EF Code first approach. I think this is one of the reasons I really like EF Code first as it makes things so simple and easy.

See more Prashant Brall’s posts…

General's Blog

Using Plan Explorer with Entity Framework

Entity Framework, just like other ORMs, takes your application code and magically turns it into T-SQL. The problem, as any good DBA will tell you, is that the magic comes at a cost: you can end up with a query that doesn't perform well and is difficult to tune due to poor readability of the actual T-SQL code.

Building Android Apps with Entity Framework

Data is a big part of any application development and mobile apps are no exception; the way we handle data as developers is one of the many important decisions we must make for our mobile apps. From key-value stores to SQLite, there are many options available, but one that .NET developers are often especially familiar with is the Entity Framework.

The Secret to Running EF Core 2.0 Migrations from a NET Core or NET Standard Class Library

With EF6 it was possible to use migrations from a class library with no exe project in sight. EF Core migrations can run from a .NET Framework or .NET Core project but not .NET Standard. It needs a runtime.

See more posts…