Context File

Context File

Postby Andrew » Tue 14 Jul 2009 20:34

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
Andrew
 
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:
http://social.msdn.microsoft.com/Forums ... 61f29953aa
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16


Return to LinqConnect (LINQ to SQL support)