sami wrote:
drool Cool article, cool stuff!
Anyway, I suppose the the step 6 can be done with 1.0 version too, just extend the factory as in your sample?
Yes, as long as the ScalarQueryExpression is available of course. I haven't tried it in 1.0 though, but I don't think you'll run into problems.
One thing to think about is concepts: by adding a field like this to an entity, it's not strictly speaking an entity anymore as in: this is the entity and it's mapped onto this table. You're then dealing with an entity which is mapped onto a resultset, which in theory is again an entity, but not in the sense that it has a physical representation in the form of a table/view definition. So for these things I'd go for a dynamiclist or view.