dev guy

Adventures of a dev guy

January, 2008

Posts
  • dev guy

    EntityBag – Wrap-up and Future Directions

    • 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...
  • dev guy

    EntityBag Part VI – RelationshipEntry

    • 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...
  • dev guy

    EntityBag Part V – ContextSnapshot Constructing and Applying

    • 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...
  • dev guy

    EntityBag Part IV – ContextSnapshot Fields and Properties

    • 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...
  • dev guy

    EntityBag Part III – Public Surface and Serialization

    • 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:...
  • dev guy

    EntityBag Part II – Modes and Constructor

    • 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...
  • dev guy

    EntityBag Part I – Goals

    • 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...
  • dev guy

    EF Extension Methods Extravaganza Part III – Fun with LINQ to Objects

    • 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...
  • dev guy

    EF Extension Methods Extravaganza part II – Relationship Entry & IRelatedEnd

    • 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...
  • dev guy

    EF Extension Method Extravaganza Part I - ObjectStateEntry

    • 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...
  • dev guy

    When deserialize(serialize(x)) != x

    • 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...
  • dev guy

    Did you know that connection string builders will parse connection strings not just create them?

    • 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...
  • dev guy

    EF FAQ updated - v0.3

    • 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)