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

.NET (Core and Framework)

 
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 
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 
EmZan wrote:
connection pooling :
to keep track of last queried data cashed so that i will no use the database engine to execute a prev. executed query.


Nope. It keeps track of the previously query CONNECTION only so it doesn't have to reestablish a connection to the database. This makes it faster to establish a new connection. Any queries are done against the database, even if it is the same query as the previous time.

EmZan wrote:
and that is done using the DataAdapter Object(which fills the DataSet Object)
and that what i got from ur prev reply


I've never mentioned the DataAdapter. It is an evil thing.

EmZan wrote:
DataAdapter is automatically closes the connection after execution(reading or writing)


Well, it says it closes the connection, but just like everything else it simply returns it too the pool.

Connection Pooling happens on the SqlConnection object which everything that connects to a database must use. LINQ or not.


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 
GeneralRe: Database connection Pin
dojohansen15-Apr-09 3:30
dojohansen15-Apr-09 3:30 
GeneralRe: Database connection Pin
dojohansen15-Apr-09 3:36
dojohansen15-Apr-09 3:36 
GeneralRe: Database connection Pin
Pete O'Hanlon15-Apr-09 1:54
mvePete O'Hanlon15-Apr-09 1:54 
GeneralRe: Database connection Pin
dojohansen15-Apr-09 2:40
dojohansen15-Apr-09 2:40 

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.