Context File

Context File

Postby Andrew » Tue 14 Jul 2009 20:34


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,
Posts: 9
Joined: Thu 28 Aug 2008 20:24

Postby AndreyR » Wed 15 Jul 2009 08:30

Please refer to the answer given in the following post: ... 61f29953aa
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Return to LinqConnect (LINQ to SQL support)