Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / entity-framework

Entity Framework

entity-framework

Great Reads

by Akhil Mittal
Repository pattern in MVC3 application with entity framework
by JawadHasan
Use NoSQL database functionality from within a Relational database system
by Mark Pelf
NET8/EF8 Breaking Change. Old servers/databases might not understand queries from EF8.
by tranthanhtu.vn
[TinyERP: SPA for Enterprise Application]Manage Staffs - Part 2

Latest Articles

by Akhil Mittal
Repository pattern in MVC3 application with entity framework
by JawadHasan
Use NoSQL database functionality from within a Relational database system
by Mark Pelf
NET8/EF8 Breaking Change. Old servers/databases might not understand queries from EF8.
by tranthanhtu.vn
[TinyERP: SPA for Enterprise Application]Manage Staffs - Part 2

All Articles

Sort by Score

entity-framework 

by Lee P Richardson
This blog post lists 3 days to refactor EF Linq queries without killing Perf
by Gediminas Geigalas
I've been successfully using NHibernate as my first ORM for a few years. For the last year, I have decided to use Entity Framework instead. Here's what I liked and disliked.
by Gil Fink
Adding Metadata to Entities in The Data Model
by mrjvdveen
Adventures while building a Silverlight Enterprise application
by mrjvdveen
In this post, we look at an issue we had while implementing a specific form of data entry for our application. Basically there was an oversight in our reasoning about CRUD operations that needed fixing. It also shows the power of GUIDs.
by mrjvdveen
As we are close to releasing our first version and we will have some time on our hands to do clean up on our sources, today we want to look at some of the things we would like to do in order to improve our codebase.
by mrjvdveen
Well, it's been a while again. Sorry about that, but it's been really hectic around here.At the moment we are digging into the back end of our application. You may remember from previous episodes that we use WCF services in our back end.
by mrjvdveen
Well, here we are again, already for part #9 of our series on using Silverlight in an Enterprise application.
by ambilykk
ASP.NET MVC3 Controller with Entity Framework CodeFirst
by Gil Fink
The book is all about Entity Framework 4.
by Jeremy Likness
Build data-driven .NET applications with seamless client-server communication using fluent C# LINQ over OData (like GraphQL but without the JSON).
by rudigrobler
Building OpenPOS – Code First
by rudigrobler
Historically Microsoft has always focused on the “Database first” model, where you build a database and then from this database create a data layer… With Entity Framework 4, we now can do what is referred to as “Model first” design.
by Vlad Neculai Vizitiu
Modifiers in C# - use and abuse
by Gil Fink
A simple example of making a JSONP call to a WCF Data Service using jQuery.
by Tom Janssens
Continuous thinking: just ship it - the story of NerdBeers
by StormySpike
Alright, let’s assume that we are lazy coders, we have building a lot of Linq queries lately, and it’s getting repetitive. We keep having to remember to add a certain where clause to every query, couldn’t we just abstract this somehow?
by Jeremy Likness
A primer on using LINQ to wring strongly typed queries directly in code
by Gil Fink
One question that I received yesterday after I published the Revisiting the Repository  and Unit of Work Patterns with Entity Framework post was how to include the eager loading ability of Entity Framework. This post is offering a solution.R
by Leom Burke
EF Code First and WPF with the Chinook database. Part 1b – the provider
by Leom Burke
A look at unit testing data access when using Entity Framework code first
by Gil Fink
EF Feature CTP5: Inheritance Scenarios with Code First Fluent API
by AlexCode
EF4 DbDataRecord ConvertTo
by Gil Fink
One of the important tools in your tool arsenal when you develop with an ORM tool is a profiler. This is a review of EFProf.
by Ali Ozgur
IntroI've been recently working on a smart client (WinForms) application backed by Entitiy Framework 4 (EF4) on Visual Studio 2010.
by JasonShort
There are some new operations in .NET 4 Entity Framework. This a quick example of each working with VistaDB 4 and Visual Studio 2010.
by Sacha Barber
Entity framework 7 in memory provider test
by Jamie Munro
Entity framework is a great ORM provided by Microsoft.  There are a ton of examples of how to get up and running with it really quickly.
by Arian Celina
This article is a part of a multi-post article on Entity Framework Code First for web applications: Entity Framework Code First Entities and entity relationships Entity Framework Data Context Entity Framework Migrations and Data seeding It is not very often that I see web development tutorials
by Farooq Kaiser
In this article, I will explore the entity framework with ASP.NET MVC. We will modify the form validation sample that will access the data layer using the Entity Framework.
by Rui Jarimba
Extension methods for ObjectContext and DbContent to get the mapped table name from an entity
by ambilykk
EntityFramework CodeFirst – DbContext Initializer
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
EntityType: EntitySet ‘[Entity Name]’ is Based on Type ‘[Entity Name]’ that has no keys defined
by JasonShort
Exposing OData from an Entity Framework Model
by Monjurul Habib
Domain Model Layer will be better isolated from infrastructure implementation. Everything what you can configure with DataAnnotations is also possible with the Fluent API. The reverse is not true. So, from the viewpoint of configuration options and flexibility the Fluent API is “better”.
by mrjvdveen
This time I would like to share an experience with you that I had trying to get inspiration to solve issues more effectively.
by Andre Vianna
Some techniques to code each part of the sentence with some samples.
by Gil Fink
How to Separate Self-Tracking Entities to Their Own Class Library
by Vlad Neculai Vizitiu
Some LiteDB use cases
by Adrian Alexander
Microsoft Embraces the Domain Model
by Gil Fink
The post shows how to combine Table Per Hierarchy and Entity Splitting methods
by Thomas Weller
CodeProjectUpdate 29/04/10:In contrary to what I initially stated in this post, Moles is not only available as part of the Pex framework, but also stand-alone on Visual Studio Gallery, and this is completely free (no MSDN subscription required). - Thanks to Peli for the correction...
by Gil Fink
My SDP Lecture Interview
by DotNetLead.com
How to implement paging and sorting to yield good performance
by Spencer Schneidenbach
A useful paging model using ASP.NET Web API, Entity Framework, and AutoMapper
by Sandeepkumar Ramani
Parallelism in .NET – PLINQ
by mrjvdveen
In this article I will describe to you why I want to change my blog, what I'm trying to achieve, how I plan to do that and whats in it all for you.Why?After writing only a few articles in Blogger and reading up on how to build a usable blog, I knew that at some point I would have to replace Blo
by Gil Fink
In the past I wrote two posts about the Repository and the Unit of Work patterns (here and here). Today I want to show a better and less naive solution for imposing the Unit of Work and the Repository patterns with Entity Frame
by Gil Fink
This post will introduce the select N+1 pitfall and explain how to avoid it in Entity Framework.
by Rion Williams
Smooth transactions with TransactionScope
by Sam Meacham
So what’s wrong with EF’s TPT inheritance? The SQL that EF generates. With some simple testing (2 or 3 subclasses) everything may appear to be fine. In fact, you may even be impressed that EF manages to fetch all the data you need in a single trip, indeed, in a single query.
by Bryan Thomas Weikel
CodeProject"LEK" is a three-tier .NET WinForms accounting application that can be configured at run time to use either LINQ to SQL, Entity Framework or NHibernate to access data in either a "main" or "testing" SQL Server database.
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Of course, as the name suggests, it is the upcoming version of ASP.NET.
by mazhou
The DbContext.Database.SqlQuery() method offers a way to execute a SQL command then map the returning result set to a strongly typed object or a list of strongly typed objects.
by Gil Fink
Using Conditional Mapping in Entity Framework when we want to retrieve only a portion of data from a table in the database permanently by some filter.
by Gil Fink
Using EF DbContext with WCF Data Services
by Charles Boyung
Var is Bad
by Arian Celina
This article is a part of a multi-post article on Entity Framework Code First for web applications: Entity Framework Code First Entities and entity relationships What do you need to know about Entity Framework Data Context Entity Framework Migrations and Data seeding This article is the second