I was playing with NHLinq and I extended my generic Repository to
return some IQueryables instead of ILists to take advantage of delayed
execution. Then, I made the same with the Services layer, returning
IEnumerables instead of ILists. I'm not sure if this is a good
decision, but I'm just testing...

Unit testing seemed to work and I have prepared a small web project.
Now, if I use the old IList methods everything works as expected but
when using IEnumerables, a nice QueryException "could not resolve
property: ProperyName of: ClassName" is thrown.

I don't know exactly why this happens... can someone give me a clue?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to