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.
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).
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.
In my previous posts I explained how to get started with the entity framework. In this post, I'm going to explain how to use the entity data model designer.
In this post, I'm going to show how to do things that the designer isn't able to perform (for the ADO.NET's team notice). You should be familiar with the EDM XML schema types and the general elements before you start to read this post.
In this post I'm going to introduce the ToTraceString method which enables us to view the generated T-SQL statement of a specific query we execute in Entity Framework.
Entity Framework came along with a very helpful change tracking system. But with great power comes great responsibility. The responsibility of the developers is to make sure that the change tracking option will not be responsible to bad performance.
One of the mapping scenarios that I talked about in the session at WDC this week but I didn't show an example is entity splitting in Entity Framework. This post will explain what is entity splitting and how to implement this mapping scenario in Entity Framework.
In this post, I'll show a simple scenario of how to map stored procedures to ObjectContext methods in Entity Framework.
A friend of mine asked me this week a question regarding link tables in Entity Framework. In their system they have a link table of many to many relationship between more then two tables.
In a very old post that I wrote I explained what is the DefiningQuery element and how to use it. In this post I'm going to explain what is the QueryView element, how to use it and the difference between using a DefiningQuery and using a QueryView.
In the post I'm going to explain how to map results of a stored procedure to a custom created entity which we have created with the Entity Framework designer.
The following post will explain what are complex types in Entity Framework and how to use them.
One drawback of Entity Framework designer is that it does not generate code in the object context for function imports of stored procedures that return a primitive type. This post will explain how to achieve this functionality up until the designer will support it in the next release of Entity Framework.
Entity Framework include a lot of ways to customize the Entity Data Model. One such way is Table Splitting which enables to map multiple entity types to a single table. This post will show how we can achieve this ability.
In this post, I'm going to show you how to define a custom function in EF.
In the post I'll show how you can use the Repository Pattern in order to make an abstraction layer on top of Entity Framework.
In this post, I'm going to explain the main three inheritance ways that you can use with EF. These ways are supported in other ORMs as well.
The first inheritanceTable Per Type Inheritance in Entity Framework mapping I'm going to show is called Table Per Type or TPT.
In the second inheritance mappings tutorials I'm going to write about the Table Per Hierarchy (TPH) inheritance mapping.
The last inheritance mapping that I'm going to write about is the Table Per Concrete Type inheritance (TPC). This inheritance type is very rare but you should be aware of how to create it when it is needed.
If we want to reduce the cost of executing a query in Entity Framework we can use a CompiledQuery to the rescue.
There are times that we want to retrieve only a portion of data from a table in the database permanently by some filter.
In this post, I'll show you a better and less naive solution for imposing the Unit of Work and the Repository patterns with Entity Framework.
In this post, I'll show you how to include the eager loading ability of Entity Framework.
More Projects...
Need Performance?
