Use Astoria with DTOs

Apr 16, 2009 at 11:54 PM

Given EF as a backend, I was playing with the idea of exposing DTOs through Astoria and having an adapter between DTO queries and EF queries so I could automatically transform Astoria queries into EF queries.

The idea is that I don`t want to expose my entities directly and that in some cases, anyways, DTOs represent a projection of a given group of entities.