I have a proxy entity but I want to save the poco entity to the session
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First, have you got your solution setup for generated POCO objects? If not, you should read this MSDN article and this article on using the POCO Generator
Once you have, make sure you turn of the use of proxies when you use a DataContext. Can you provide more information about your solution?
Example of disabling Proxy Generation: