Since I’m on vacation and spend all my time on SisoDb I will not cover the new release of CTP4 for Code first and Entity framework 4, but instead direct you to a fairly nice post with good external reference links. So, instead of writing something that already has been written, go to Scott Hanselman’s blog: http://www.hanselman.com/blog/SimpleCodeFirstWithEntityFramework4MagicUnicornFeatureCTP4.aspx
I like that Microsoft has made it simpler and I really like the way you now can define your model in OnModelCreating. You can of course hook in your more detailed mappings via modelBuilder.Configurations.Add(new FooMapping());
//Daniel
Advertisement