Sign in
compiler padawan
My adventures learning how to build compilers.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
ADO.Net
Agile
Astoria
Book Report
compilers
D3
DDD
Entity Designer
Entity Framework
Pages
Performance
Random()
Web Services
WPF
Archive
Archives
February 2012
(1)
December 2010
(1)
November 2010
(2)
July 2010
(4)
April 2010
(2)
February 2010
(2)
January 2010
(5)
December 2009
(1)
November 2009
(2)
June 2009
(5)
May 2009
(7)
April 2009
(2)
February 2009
(5)
January 2009
(1)
October 2008
(3)
September 2008
(1)
August 2008
(8)
July 2008
(4)
June 2008
(3)
May 2008
(4)
April 2008
(2)
March 2008
(2)
February 2008
(3)
January 2008
(13)
December 2007
(9)
November 2007
(9)
October 2007
(1)
September 2007
(5)
August 2007
(1)
July 2007
(1)
June 2007
(2)
May 2007
(3)
March 2007
(5)
February 2007
(4)
August 2006
(5)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
compiler padawan
Why use the Entity Framework?
Posted
over 5 years ago
by
Daniel Simmons - MSFT
42
Comments
There are a number of places where you can read an introduction to the Entity Framework, listen to a podcast about it, or watch a screen cast or video of an interview. Even with these various resources, though, there are so many different data access...
compiler padawan
DP Advisory Council
Posted
over 5 years ago
by
Daniel Simmons - MSFT
19
Comments
As we wrap up VS 2008/.Net 3.5 SP1 and begin planning in earnest for the next release, we’ve been brainstorming various ways to improve our understanding of the problem space and to create feedback channels for our plans. I appreciate the feedback that...
compiler padawan
EntityBag Part I – Goals
Posted
over 5 years ago
by
Daniel Simmons - MSFT
17
Comments
Well, I guess it’s high time that I get down to business of sharing and explaining the “general purpose container object” for transporting graphs of entities along with change tracking information over WCF web services which I mentioned in this previous...
compiler padawan
system.data.objects dev guy becomes a compiler padawan
Posted
over 3 years ago
by
Daniel Simmons - MSFT
16
Comments
More than 5 years ago I joined what became the Entity Framework team and started an awesome adventure which taught me a lot and has given me many memories which I will treasure: Everything from a room of MVPs yelling at me (so much that one of them later...
compiler padawan
EF Merge Options and Compiled Queries
Posted
over 3 years ago
by
Daniel Simmons - MSFT
14
Comments
Recently there have been some questions about compiled queries and how they relate to merge options. As I looked into it I realized that I didn’t fully understand the details of how it all worked, so I walked down the hall and spent a little while...
compiler padawan
Deleting Foreign-Key Relationships in EF4
Posted
over 3 years ago
by
Daniel Simmons - MSFT
12
Comments
I try to keep up with blog posts on the net which involve the entity framework, and this afternoon I came across this post where someone had been experimenting with EF4 and encountered some cases where things didn’t behave as they expected. I started...
compiler padawan
Generating Business Logic “Hooks” for EF4 Entities
Posted
over 3 years ago
by
Daniel Simmons - MSFT
12
Comments
Once again a question in the EF MSDN Forum has prompted a blog post where I can give a more complete answer. If I understand things correctly, the person asking the question wanted a simple way to add business logic hooks to their entities which...
compiler padawan
EF CodeGen Events for Fun and Profit (aka How to add custom attributes to my generated classes)
Posted
over 6 years ago
by
Daniel Simmons - MSFT
12
Comments
Update 1/11/08: Between beta 2 and beta 3 there was a breaking change in the way events are fired during codegen. The metadata item that is being generated is no longer supplied as the "sender" of the event. Instead it comes in the TypeSource property...
compiler padawan
Context Lifetimes -- Dispose or Reuse?
Posted
over 5 years ago
by
Daniel Simmons - MSFT
11
Comments
Here's another topic which I believe is important to educate more folks on, but I just haven't had the time to carefully write something up. As I was answering a question on the forum today, I realized that the answer might be good to share a bit more...
compiler padawan
An Interesting Relationship Mapping Scenario
Posted
over 6 years ago
by
Daniel Simmons - MSFT
10
Comments
This week on the ADO.Net pre-release forum, someone brought up an interesting relationship mapping scenario in this thread . Essentially the scenario is this: They have a table which represents an entity, call it Foo, and along with the other columns...
compiler padawan
Question: Deep serialization of an object graph--how deep should it go?
Posted
over 6 years ago
by
Daniel Simmons - MSFT
10
Comments
So, I've been thinking lately about serializing/remoting object graphs. The entity framework currently serializes an entire object graph when binary serialization is used but only serializes one entity at a time in XML/DataContract scenarios. I'm working...
compiler padawan
Persistence Ignorance: OK, I think I get it now.
Posted
over 6 years ago
by
Daniel Simmons - MSFT
9
Comments
Let me apologize up front for how long it has taken me to get back to this topic . What I can say, though, is that in the intervening interval I have devoted real time to studying agile design principles and domain driven design. Initially I thought...
compiler padawan
"June" CTP of the Entity Framework is finally out
Posted
over 6 years ago
by
Daniel Simmons - MSFT
9
Comments
Hey folks, It has been longer in arriving than I would have liked, but the June CTP of the Entity Framework is finally out. This includes a HUGE set of changes. I can't tell you how many times lately I've responded to a question on the forum or something...
compiler padawan
So they're hard, but what if I need them...
Posted
over 6 years ago
by
Daniel Simmons - MSFT
9
Comments
In my last post I started a survey of problems with building data-centric web services. When we left our hero (you my intrepid entity framework programmer) things were looking pretty bleak. So far we’ve talked about the challenges. Now let’s talk about...
compiler padawan
Using T4 Templates to generate EF classes
Posted
over 5 years ago
by
Daniel Simmons - MSFT
9
Comments
Spurred on both by the success of Damien Guard in using T4 to generate Linq to SQL code and of Jeff Reed from the EF team who built a prototype for using T4 to generate EF code, I recently hacked something up that makes it fairly easy to use T4 to generate...
compiler padawan
AttachAsModified – a small step toward simplifying EF n-tier patterns
Posted
over 5 years ago
by
Daniel Simmons - MSFT
9
Comments
During this week at PDC I had a lot of great discussions with folks who are working with the EF—some of them just evaluating it and others deep into projects built on it. As it turns out much of the feedback that I heard came as no surprise. One of the...
compiler padawan
“Local” Queries
Posted
over 4 years ago
by
Daniel Simmons - MSFT
9
Comments
Quite some time ago I wrote a blog post about the fact that EF queries execute at the database rather than locally which means that if you add an object to the context or you modify an object already attached to the context, then a query won’t be based...
compiler padawan
EF Extension Method Extravaganza Part I - ObjectStateEntry
Posted
over 5 years ago
by
Daniel Simmons - MSFT
7
Comments
So I’ve begun drinking the kool-aide. Extension methods are frighteningly addictive and don’t even get me started on LINQ to Objects. Now I can take a class which is missing some functionality that would make it just right for a particular problem and...
compiler padawan
EntityBag – Wrap-up and Future Directions
Posted
over 5 years ago
by
Daniel Simmons - MSFT
7
Comments
Over the course of quite a few posts during the last several weeks I’ve shared source code that adds up to an implementation for EntityBag<T>. Piecing together a project from all those snippets, though, would be a pretty painful task, so I put the...
compiler padawan
Change Tracking Mechanisms
Posted
over 6 years ago
by
Daniel Simmons - MSFT
7
Comments
I continually find myself delaying posts on topics like this because I’d like to do a better job by the material, but given my harried schedule, it seems useful to at least get something out there whenever I can in the hope that it will be useful to someone...
compiler padawan
Celebrating the Death of DoFinalConstruction()
Posted
over 6 years ago
by
Daniel Simmons - MSFT
6
Comments
In a previous post I explained how the Entity Framework supported custom construction of entity objects in Orcas beta 1 and before. Unfortunately, the whole mechanism was way too complex and brittle. So, we went back to the drawing board (or the whiteboard...
compiler padawan
Mapping Read-only Entities
Posted
over 6 years ago
by
Daniel Simmons - MSFT
6
Comments
I can't take credit for the description of how to do this, but a very useful example was recently posted to the forum, and I wanted to make sure more people saw this/it is easy to find in the future. Also, Julie Lerman was mentioning to me today that...
compiler padawan
EntityBag Part II – Modes and Constructor
Posted
over 5 years ago
by
Daniel Simmons - MSFT
6
Comments
In my last post I described the way the EntityBag class can be used. This time around we’ll take a look at the implementation of the top-level EntityBag class itself, and in subsequent posts we’ll dig into some supporting classes. The first thing to...
compiler padawan
EntityBag Part V – ContextSnapshot Constructing and Applying
Posted
over 5 years ago
by
Daniel Simmons - MSFT
6
Comments
For this post, I’m going to set a new personal record for least prose/most code. We’re going to look at the core of ContextSnapshot, and the code includes extensive comments so we’ll mostly let it speak for itself. Constructors We have two different...
compiler padawan
Concepts Part II: Relationships
Posted
over 6 years ago
by
Daniel Simmons - MSFT
6
Comments
Recently I shared this post which has some code that demonstrates how to create an object matching the original state of an entity tracked in the ObjectStateManager. While this is useful, it’s more interesting to create the entire original value graph...
Page 1 of 5 (122 items)
1
2
3
4
5