I m using the Enterprise lib to connect Oracle Database
class Customer{
private readonly Database _db;
public Customer(){
_db = = DatabaseFactory.CreateDatabase(_userSettings.ConnstringName);
}
.. stuff to use this connection..
}
When I run the application and opens multiple screen now Oracle show multiple session for same Application
Also I tried by changing code as
class Customer{
private readonly Database _db;
public Customer(){
_db = = (_userSettings.GetInstance().GetDatabase);
}
.. stuff to use this connection..
}
*_userSettings is a singleton object*
But same thing happens..?
What's going wrong?
Pls Help
Thanks.