compiler padawan

My adventures learning how to build compilers.

Blog - About

About compiler padawan.

Hiya!  My name is Danny Simmons, and I used to be a developer on the entity framework team, now I work on an incubation product involving ahead-of-time compilation of c#.

This blog is almost entirely about the Entity Framework.

  • compiler padawan

    Software Development Meme

    • 1 Comments
    Julie Lerman called me out to participate in this set of questions about how folks got started programming, and it is fun to hear about those kinds of things. So here are my answers and at the bottom a few more people I’ll add to the process. How old...
  • compiler padawan

    Items of Interest: Sample Oracle Provider, Transparent Design Process

    • 3 Comments
    Just a quick note to make sure people are aware of a couple interesting events from the last day or two. First, one of my colleagues, Jarek, posted our Sample Oracle Provider for the EF . I should stress that this is a sample not an official supported...
  • compiler padawan

    New in version 0.6 of the EF FAQ...

    • 1 Comments
    Updated: 1.2 Where else should I go to learn more about the EF? New: 7.7 Why does deleting an entity from my context not delete all related entities when I have cascade delete defined in the model? New: 18.5 Why doesn’t relationship span happen...
  • compiler padawan

    DP Advisory Council

    • 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

    New in version 0.5 of the FAQ…

    • 3 Comments
    · Some minor formatting edits. · Updated: 1.2 Where else should I go to learn more about the EF? · New: 9.3 What does the SelectValue builder method do? What is “select value” in Entity SQL? · New: 18.4 How many Includes can I have in a query...
  • compiler padawan

    Why use the Entity Framework?

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

    A little more about SP1 Beta and the EF

    • 1 Comments
    Just a quick note to point out a few interesting things about the updated version of the EF which shipped this week with the beta of VS 2008 / .Net 3.5 SP1: The initial announcement didn't include links to updated versions of the documentation or...
  • compiler padawan

    Lazy Loading

    • 0 Comments
    There's a lot going on today! Not only has VS 2008 SP1 Beta been released (with the EF fully integrated into setup and including a number of new features and bug fixes), but also Jarek Kowalski, who is a really smart colleague on the EF team, put up the...
  • compiler padawan

    I'll be at DevConnections in Orlando in a couple of weeks

    • 0 Comments
    I had so much fun talking with folks at DevConnections in Las Vegas last fall that I really wanted to attend a conference again this spring so I could share more about what we're doing with the Entity Framework and meet more great people who are interested...
  • compiler padawan

    EF will ship with SP1 of VS 2008/.Net Framework 3.5

    • 4 Comments
    Probably the most frequent question I get these days is, "by the way, when will the EF finally ship?" I can imagine how frustrating it must be not having more concrete data about this stuff, and sadly all we're able to tell you is that it will ship some...
  • compiler padawan

    Just delete it already!

    • 1 Comments
    Today in the forum a question came up that illuminates some non-obvious aspects of the EntityFramework which is pretty important so I wanted to copy some of my response here and expand a little to give it a bit more exposure. The problem statement...
  • compiler padawan

    More about how to fit the ObjectContext into apps

    • 5 Comments
    In my ongoing series of trying to repurpose / further broadcast important topics that come up in the forum, I thought folks might be interested in the discussion going on in this thread . A key part of this discussion is coming back to this question of...
  • compiler padawan

    SQL Compact Edition Reloaded -- now with support for the EF

    • 0 Comments
    It was somewhat delayed, but a CTP of SQL Compact Edition with support for the EF that works with beta 3 is now available. You can download it from: http://www.microsoft.com/downloads/details.aspx?FamilyID=68539FAE-CF03-4C3B-AEDA-769CC205FE5F&displaylang...
  • compiler padawan

    Check out EF Contrib!

    • 0 Comments
    OK. First off I have to apologize for the fact that I've been pretty silently lately. I've got a whole backlog of questions to answer, fixes to entity bag, comments to respond to, etc. Life seems to be composed of different seasons--there's a time to...
  • compiler padawan

    Context Lifetimes -- Dispose or Reuse?

    • 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

    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...
  • compiler padawan

    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...
  • compiler padawan

    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...
  • compiler padawan

    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...
  • compiler padawan

    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:...
  • compiler padawan

    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...
  • compiler padawan

    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...
  • compiler padawan

    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...
  • compiler padawan

    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...
  • compiler padawan

    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...
Page 3 of 5 (122 items) 12345