Welcome to MSDN Blogs Sign in | Join | Help

system.data.objects dev guy

Ramblings about ADO.Net, the Entity Framework, and other random things from a dev guy.

January 2008 - Posts

EntityBag – Wrap-up and Future Directions
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 Read More...
EntityBag Part VI – RelationshipEntry
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 Read More...
EntityBag Part V – ContextSnapshot Constructing and Applying
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 constructors Read More...
EntityBag Part IV – ContextSnapshot Fields and Properties
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 Read More...
EntityBag Part III – Public Surface and Serialization
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: One is Read More...
EntityBag Part II – Modes and Constructor
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 understand Read More...
EntityBag Part I – Goals
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 Read More...
EF Extension Methods Extravaganza Part III – Fun with LINQ to Objects
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 Read More...
EF Extension Methods Extravaganza part II – Relationship Entry & IRelatedEnd
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 Read More...
EF Extension Method Extravaganza Part I - ObjectStateEntry
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 Read More...
When deserialize(serialize(x)) != x
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—and Read More...
Did you know that connection string builders will parse connection strings not just create them?
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 Read More...
EF FAQ updated - v0.3
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 of an Read More...
Page view tracker