Непонятки с вопросом по ADO.NET
От: Аноним  
Дата: 21.02.11 11:33
Оценка:
Столкнулся с таким вот вопросом, мой ответ неверен, хотелось бы узнать верный ответ.

A banking application is online. As soon as Martin finished his session, Lisa logged on and did some banking. The connection string created for each of them is as follows:
String ConnStr= "Server=BankServer; Database=BankDB; User=Martin; Password=gilbo123;"
String ConnStr= "Server=BankServer; Database=BankDB; User=Lisa; Password=kari75."
Which of the following statements will be correct in case the connection pooling is also switched on?


  1. There is a possibility of Lisa using the same connection object as created for Martin from the connection pool
  2. Lisa can not use someone else's connection from the connection pool
  3. Lisa can pick any other ideal connection from the connection pool
  4. None of the above

Мой ответ 2-й, так как для каждой строки подключения создается свой уникальный пул. Но он неверен Кто неправ я или разработчик теста?
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.