Geeks With Blogs
Dane Morgridge Programmer, Geek, ASPInsider
A blog about code and data access
May 2010 Entries
Entity Framework 4, WCF & Lazy Loading Tip
If you are doing any work with Entity Framework and custom WCF services in EFv1, everything works great. As soon as you jump to EFv4, you may find yourself getting odd errors that you can’t seem to catch. The problem is almost always has something to do with the new lazy loading feature in Entity Framework 4. With Entity Framework 1, you didn’t have lazy loading so this problem didn’t surface. Assume I have a Person entity and an Address entity where there is a one-to-many relationship between Person ......

Posted On Tuesday, May 4, 2010 10:55 AM

Customize Entity Framework SSDL & SQL Generation
In almost every talk I have done on Entity Framework I get questions on how to do custom SSDL or SQL when using model first development. Quite a few of these questions have required custom changes to the SSDL, which of course can be a problem if it is getting auto generated. Luckily, there is a tool that can help. In the Visual Studio Gallery on MSDN, there is the Entity Designer Database Generation Power Pack. You have the ability to select different generation strategies and it also allows you ......

Posted On Monday, May 3, 2010 7:22 PM

Copyright © Dane Morgridge | Powered by: