Page 1 of 1

Context File

Posted: Tue 14 Jul 2009 20:34
by Andrew
Hello

I have a couple general usage questions about the context file.

Which of the following do I use in my web application design?

--1 Context per page request

--1 Context per session

--multiple contexts per page request

--1 static context for server

Also, is it required for me to call the Dispose() method of the context when I am through with it, or are the database connections handled in some other fashion?

Thank You,
Andrew

Posted: Wed 15 Jul 2009 08:30
by AndreyR
Please refer to the answer given in the following post:
http://social.msdn.microsoft.com/Forums ... 61f29953aa