Click here to Skip to main content
15,893,904 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionDatabase connection Pin
EmZan11-Apr-09 2:21
EmZan11-Apr-09 2:21 
AnswerRe: Database connection Pin
0x3c011-Apr-09 2:41
0x3c011-Apr-09 2:41 
GeneralRe: Database connection Pin
EmZan11-Apr-09 3:01
EmZan11-Apr-09 3:01 
GeneralRe: Database connection Pin
0x3c011-Apr-09 3:17
0x3c011-Apr-09 3:17 
GeneralRe: Database connection Pin
EmZan11-Apr-09 6:15
EmZan11-Apr-09 6:15 
GeneralRe: Database connection Pin
Colin Angus Mackay11-Apr-09 6:25
Colin Angus Mackay11-Apr-09 6:25 
GeneralRe: Database connection Pin
EmZan12-Apr-09 20:58
EmZan12-Apr-09 20:58 
GeneralRe: Database connection Pin
Colin Angus Mackay12-Apr-09 22:57
Colin Angus Mackay12-Apr-09 22:57 
That was not my question. My question was "What has deferred execution got to do with connection pooling?"

While deferred execution has the effect you describe for LINQ to SQL, deferred execution is not about keeping whether the data is in RAM or not.

Deferred execution is about running the LINQ query at the point you want the data from it, not at the point you define the query. If you run your LINQ query on objects that exist only in RAM then it will filter based on the most recent state of the objects rather than the state they were in when you defined the query.


GeneralRe: Database connection Pin
EmZan12-Apr-09 23:16
EmZan12-Apr-09 23:16 
GeneralRe: Database connection Pin
Colin Angus Mackay12-Apr-09 23:20
Colin Angus Mackay12-Apr-09 23:20 
GeneralRe: Database connection Pin
EmZan12-Apr-09 23:36
EmZan12-Apr-09 23:36 
GeneralRe: Database connection Pin
Colin Angus Mackay12-Apr-09 23:52
Colin Angus Mackay12-Apr-09 23:52 
GeneralRe: Database connection Pin
EmZan13-Apr-09 0:05
EmZan13-Apr-09 0:05 
GeneralRe: Database connection Pin
Colin Angus Mackay13-Apr-09 0:14
Colin Angus Mackay13-Apr-09 0:14 
GeneralRe: Database connection Pin
EmZan13-Apr-09 2:11
EmZan13-Apr-09 2:11 
GeneralRe: Database connection Pin
dojohansen14-Apr-09 22:21
dojohansen14-Apr-09 22:21 
GeneralRe: Database connection Pin
Colin Angus Mackay15-Apr-09 0:11
Colin Angus Mackay15-Apr-09 0:11 
GeneralRe: Database connection [modified] Pin
dojohansen15-Apr-09 0:59
dojohansen15-Apr-09 0:59 
GeneralRe: Database connection Pin
Pete O'Hanlon15-Apr-09 1:57
mvePete O'Hanlon15-Apr-09 1:57 
GeneralRe: Database connection Pin
dojohansen15-Apr-09 2:18
dojohansen15-Apr-09 2:18 
GeneralRe: Database connection Pin
Colin Angus Mackay15-Apr-09 2:33
Colin Angus Mackay15-Apr-09 2:33 
GeneralRe: Database connection Pin
dojohansen15-Apr-09 2:58
dojohansen15-Apr-09 2:58 
GeneralRe: Database connection Pin
Pete O'Hanlon15-Apr-09 4:27
mvePete O'Hanlon15-Apr-09 4:27 
GeneralRe: Database connection Pin
Colin Angus Mackay15-Apr-09 2:26
Colin Angus Mackay15-Apr-09 2:26 
GeneralRe: Database connection Pin
dojohansen15-Apr-09 3:27
dojohansen15-Apr-09 3:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.