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
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
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)
January, 2008
MSDN Blogs
>
compiler padawan
>
January, 2008
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
compiler padawan
EntityBag – Wrap-up and Future Directions
Posted
over 4 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
EntityBag Part VI – RelationshipEntry
Posted
over 4 years ago
by
Daniel Simmons - MSFT
3
Comments
Here’s the last piece in the EntityBag saga. RelationshipEntry is a small, DataContract serializeable class which wraps an ObjectStateEntry that represents a pair of related entities. It contains the name of the relationship, the state of the entry, and...
compiler padawan
EntityBag Part V – ContextSnapshot Constructing and Applying
Posted
over 4 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
EntityBag Part IV – ContextSnapshot Fields and Properties
Posted
over 4 years ago
by
Daniel Simmons - MSFT
3
Comments
Well, we’re moving right along—at the fourth part in this series already. I imagine, though, that some of you may be chomping at the bit because you’ve waded through three posts worth of my ramblings without really getting to the hard part yet. At the...
compiler padawan
EntityBag Part III – Public Surface and Serialization
Posted
over 4 years ago
by
Daniel Simmons - MSFT
2
Comments
Now that we can construct an EntityBag, we’ll continue pulling apart the top level class. Public Surface First, there are the public properties. The Mode is trivial, but in the case of the Root property, there are a couple of interesting parts:...
compiler padawan
EntityBag Part II – Modes and Constructor
Posted
over 4 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 I – Goals
Posted
over 4 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
EF Extension Methods Extravaganza Part III – Fun with LINQ to Objects
Posted
over 4 years ago
by
Daniel Simmons - MSFT
1
Comments
In this previous post and its follow-on I shared a series of extension methods that I’ve been using to customize the EF a little for some of my scenarios. With this post I’ll wrap-up the short-series (at least until I find another batch that seem worth...
compiler padawan
EF Extension Methods Extravaganza part II – Relationship Entry & IRelatedEnd
Posted
over 4 years ago
by
Daniel Simmons - MSFT
5
Comments
In my last post I shared a few extension methods that I’ve found useful when working with the EF. Here are several more. First there is a set for working with ObjectStateEntry instances that track relationships. Before showing the code, though, let’s...
compiler padawan
EF Extension Method Extravaganza Part I - ObjectStateEntry
Posted
over 4 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
When deserialize(serialize(x)) != x
Posted
over 4 years ago
by
Daniel Simmons - MSFT
1
Comments
So here’s another random little piece of information that might help someone else out (or me 6 months from now)… As I’ve been rumbling about, lately I’ve been playing quite a bit with webservices and serialization—especially DataContract serialization...
compiler padawan
Did you know that connection string builders will parse connection strings not just create them?
Posted
over 4 years ago
by
Daniel Simmons - MSFT
1
Comments
OK. So this one was new on me. Thanks to my colleague down the hall, Alazel Acheson, (being able to say that, by the way, has got to be one of the coolest things about working at Microsoft -- it's great to be surrounded by very smart people) I was able...
compiler padawan
EF FAQ updated - v0.3
Posted
over 4 years ago
by
Daniel Simmons - MSFT
3
Comments
I've not spent near as much time on this as I would like, but this morning, I decided to do a quick update. New questions include: · 7.5 Does the EDM support guids? · 7.6 Does the EDM/EF support enums? · 10.3 Can you use a guid property as part...
Page 1 of 1 (13 items)