Archive | EF5 RSS feed for this archive

Entity Framework 5.0 & Upgrading Project to FW 4.5

September 25, 2012


I was listening to a recent .NET Rocks with Julie Lerman on Entity Framework 5, and she was asked if EF5 worked with both .NET 4.5 and .NET 4.0. Around minute 26, she briefly mentioned it’s tricky because the dll that gets installed via NuGet is determined by the Target Framework the project is set […]

Continue reading...

Entity Framework Circular References

September 10, 2012


One of the first issues I encountered returning serialized, nested (“deep”) entities using EF5 with the (MVC4) ASP.NET Web Api was the “Self Referencing loop” exception* For any property you don’t want exposed, make the Getter: Internal & Setter: Public. Doing this on the navigation properties that reference the parent that reference it will prevent […]

Continue reading...