Tag Archives: code-gen

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

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) The ability to serialize object graphs that contain cycles (by telling Json.NET to ignore them) Unfortunately, this started causing me too [...]
Posted in Code | Also tagged , , , , , | 4 Comments

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 generated with T4 templates, based on the edmx) ↑ Service Layer (WCF REST, based on a template) ↑ (Json.NET [...]
Posted in Code | Also tagged , , , , | 4 Comments