Hi,
So you ask "How to Access the propterties of anonymouse types"?
It has nothing to do with EntityFramework, Asp.NET, or the dynamic keyword. - Next time maybe tag your question better (in this case I think you are missing basic knowledge about .NET so a day with a good book could help more than 1000 questions on the Internet....)
So give the docu a read:
[
^]
In short (cause I know that no one who is told to read the manual/docu does it...): Use var and not dynamic (complete nonsense in this case) and your code will work.
Kind Regards,
Johannes
P.S. I'm answering questions here on CP because I READ THE DOCUMENTATION - Please don't take this joking as offense - I just want to point you in the right direction. MSDN is a great source for knowledge, if you know how to use it (hit F1 on any keyword, or function in VS)