Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Hanselminutes on 9 - Digging into Entity Framework 4 Code First (Magic Unicorn Edition)

22 minutes, 3 seconds


Right click “Save as…”

Scott is in Redmond this week and talks to Jeff Derstadt, the Lead Developer on Entity Framework Code First (or, as Scott says, EF Magic Unicorn). What's the deal with this new feature in Entity Framework? What about the bad rap that EF got back in the day? What's new in EF4 and how does EF Code First sit on that? Which is the right choice, Model First, Database First or Code First? All of this plus demos in this off-the-cuff interview.

(Sorry the first part of the video is dark, it gets lighter halfway through.)


Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
  • CalinCalin


    I used this with nhibernate and fluent nhibernate from a long time, I really like it and saved my life in some tricky scenarios.

    Nice to see EF4 is caching up.

    Good work,

  • JesseJesse

    I love Code First. I'm new to ORM stuff, so I can't compare to nHibernate or others, but Code First was so simple. And the fact that I'm not forced to clutter my POCO's with garbage I don't need is awesome. I love it. Great work, IMO. I'm sure more seasoned devs can find issues with it, but for me it's FANTASTIC.
    BTW - Magic Unicorns should be available for purchase. I'd buy 5!

  • Paul FPaul F

    Brilliant stuff, just done a demo of this myself today, hope to get it implemented shortly. The migrations feature would be fantastic though.

  • TerrenceTerrence

    Jeff, I love the code first stuff.  Been using it since the beginning.  I wonder if you could help out on the ADO.NET Entity Framework and LINQ to Entities (Pre-Release) forum.  It is getting a lot of traffic and there aren't enough experts to answer new questions.

  • Bent Rasmussenexoteric stuck in a loop, for a while

    Thanks! I love EF CF RC WTF Wink

    Seriously, it's soothingly pleasant to work with very few exceptions. In particular data annotations are very cool.

    I don't understand the need for the fluent API so much though based on the example chosen: the example with non-unicode text for example should be able to be handled without fluent API calls. Code is nice, but if a simple data annotation can declaratively direct the data definition, then no need for lambda expressions.

  • CTP5 is very nice. I've been using it now for a month on a project and it's working so far. Despite some of its limitations, it's actually just enough for a fairly elegant domain model. I'm very excited to see what's new in the RC!

  • Nice video, thanks guys! BTW, how can we get an EF T-Shirt like the one Jeff has? Smiley

  • JohnJohn

    We are very much looking for the migration feature!!!

  • kkkk

    @Calin:i dont get it

  • kkkk

    @Calin:i dont get it

  • SillionSillion

    @Joshua Ramirez: I don't get the explanation of the t-shirt and I like one to :)

Remove this comment

Remove this thread


Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.