Quantcast
Channel: Sam's Code » entity-framework
Browsing latest articles
Browse All 8 View Live

Making Entity Framework (v1) work, Part 1: DataContext lifetime management

EFv1 is sorely lacking in many areas. That doesn’t seem to stop people from using it, however. If EFv2 weren’t on the way (March 2010), I’d probably still be using NHibernate for everything. However,...

View Article



Eager Loading with Entity Framework and NHibernate

At CB Richard Ellis, Rich Alger and I wrote and maintain an internal ordering system that uses NHibernate. It was our first experience with NHibernate, but it was a huge success. Much of our initial...

View Article

More EF4 vs NH Discussion

There’s a post on InfoQ following up the the Entity Framework 4 vs NHibernate (EF4 vs NH) discussion that Ayende started. I posted some of my findings regarding loading of large or complex object...

View Article

Eager fetch multiple child collections in 1 round trip with NHibernate

Oren Eini (Ayende), due to some of the comments on his various blog posts regarding EF vs NH that compare some of the different features, has finally put up a post demonstrating how to load a larger...

View Article

Image may be NSFW.
Clik here to view.

The Entity Framework (v1 and v4) Deal Breaker: TPT Inheritance

CodeProject 9/10/2010 Update #3: It appears that MS has deleted the bug on Microsoft Connect. Here is a cached version indexed from Google where you can see it has 34 upvotes, and 22 users saying they...

View Article


Entity Framework v4, End to End Application Strategy (Part 1, Intro)

Sorry I haven’t posted in so long. Been very busy with new projects at work and a bit of side work. Ok, so I think I am finally moving on from NHibernate, at least for new development. Obviously I’m...

View Article

Entity Framework v4, End to End Application Strategy (Part 2, Data Layer)

In part 1, I talked about what the whole app stack will look like. To recap the stack: SQL Server ↑ Data Layer — EFv4 ↑ (Auto generated AutoMapper configs between entities and DTOs) DTOs (Auto...

View Article

Image may be NSFW.
Clik here to view.

Entity Framework v4, End to End Application Strategy (Part 3, Changes to Data...

Initially in my service layer, I was doing all of my serialization with the Json.NET library, for 2 primary reasons Control over how dates get formatting (I don’t like the \/Date(123)\/ MS AJAX style)...

View Article

Browsing latest articles
Browse All 8 View Live




Latest Images