That does it. I didn't realise it was trying to cast the result entity
to the type specified. I usually specify the type rather than using
object because I though Intellisense would not autocomplete the
properties of the entity unless I gave it a type, but after removing
Edu.Staff I can see that is does.

Thanks for your help.

Sam.

-- 
You received this message because you are subscribed to the Google Groups 
"DbLinq" 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/dblinq?hl=en.

Reply via email to