Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » EDM   (RSS)
MEST - What is it and how does it work?
MEST stands for M ultiple E ntity S ets per T ype. It is one of the features of the Entity Framework that is typically missing from ORM stacks. The idea is that you can store the same EntityType in multiple EntitySets. For the purposes of this discussion Read More...
Fantasy Soccer - Part 4 - Architectural Overview
Okay this Fantasy Soccer thing has got me thinking. What is this thing going to look like from about 100,000 feet? I.e. what are the big bits? Well being a pure geek, I really want to play with new shiny stuff (i.e. the new ASP.NET MVC Framework ) but Read More...
Fantasy Soccer - Part 2 - an overview of the rules
Yes, yes I know the real name of Soccer is Football , but I don't want there to be any confusion for any Americans, Australians or New Zealanders who might be reading this ;) So what are the basic rules of Fantasy Soccer? The Basic idea is that you get Read More...
Real world App - Part 1 - Choosing an Application
Okay so it has been a while since I posted my Statement of Intent . Time to get on with things. The main problem has been trying to come up with a good application. I gave myself three key requirements: Well suited to the web. Ability to grow uncontrollably Read More...
Statement of Intent
This blog has been a little quiet for a while now. With good reason though. I've been doing the hard yards answering questions on the Entity Framework forum . To do so I had to ask literally hundreds of questions of the rest of the Entity Framework team. Read More...
Associations with Payloads - closing the loop
I'm assuming you've read part 1 and part 2 , if not why not? Just kidding, they will make this post a little easier to understand though. I'm going to show you how to create a read-only association with a Payload. Okay so imagine you have this model: Read More...
Associations with Payloads - part Deux
Okay so the 'cat is out of the bag' you CAN do associations with Payloads... Sort of . Now for an explanation of what I meant by 'Sort of'. Let's dream a little and imagine how it might work in an ideal world. Imagine something like this: Product p = Read More...
Associations with Payloads
Those of you who know what I am talking about will probably also know that we have been saying publicly that the Entity Framework doesn't support them. Now for those who don't know what an association with a payload is, imagine something like: Order <- Read More...
Rolling your own SQL Update on-top of the Entity Framework - Part 1
One of the current limitations of the Entity Framework, is that in order to modify an entity you have to first bring it into memory. Now in most scenarios this is just fine. There are however some bulk update cases where performance suffers somewhat. Read More...
ObjectQuery<T>.ToTraceString() and possibilities...
So in Beta3 of the EntityFramework (due out very soon) the team added a new function to ObjectQuery <T> that allows you to get the native Query that would be evaluated if you enumerated. I.e. if you are using the System.Data.SqlClient that would Read More...
Hydrating a DataTable from an EntityDataReader - Part 2
See yesterday's post for some context... So we can't rely on EntityDataReader . GetSchemaTable() and a DataAdapter to do the filling of our DataTable for us. We have to do it ourselves. As with any problem the first step is to define the steps: Get a Read More...
Hydrating a DataTable from an EntityDataReader - part 1
Okay so about 5 posts back I promised: "...At this point we have an enumeration of all EntitySet s available. In the next post I explain how we can use that…" Well better late than never... If you remember last time I showed you this piece of code: MetadataWorkspace Read More...
Dude where is my query going to run?
One of the key decisions with LINQ to Entities (L2E) is that all predicates in an L2E expression must be converted into store expressions, so that the store does all the heavy lifting. This means for example if you try the following: var matches = from Read More...
Compiled Queries and the EntityFramework
For a while LINQ to SQL has had compiled Queries... and now in Beta3 of the Entity Framework, due out soon, we have them too. The idea behind compiled queries is that you don't want to re-process the same LINQ expression every time it is encountered. Read More...
Using a random model at runtime
In my last post I hinted that using the Entity Frameworks Value layer and Metadata allows you to work against any Entity Data Model in a loosely coupled way. Let’s see how… So let’s imagine you are working against the Value layer. With code something Read More...
More Posts Next page »
Page view tracker