All my reads should go to one DB connection All my writes should go to another connection How do I accomplish this in Yii, with minimal changing the code of the core library?
Is there an way to simulate a db connection timeout? I\'m encounter开发者_高级运维ing problems with a timeouted db connection on a productive system and need to simulate a similar situation. One way
the last line of the following code triggers an exception: OracleConnection conn = new OracleConnection(getConnectionString());
Which of the following two is more accurate? select numbackends from pg开发者_高级运维_stat_database;
I\'m trying to implement a Unif Of Work around ObjectContext of EF4 in a web application. The UoW is an HttpModule. What I need is to get the current transaction for the connection. When an http reque
I need to execute a stored procedure on a database. This is what I got so far that works: protected DbProviderFactory dbProviderFactory;
i have a server with these codes : procedure TFrmMain.TCPServerExecute(AContext: TIdContext); begin Res := DoRegister(Name,Family,Username,Password);
I got a problem. When i\'m cr开发者_开发技巧eating the new project in ASP.NET using VS 2010, it\'s web.config with a default connection string about SQL Express created. But i haven\'t even got SQL Ex
I am trying to understand DbConnection and DbCommand, and the proper way to dispose those objects after use.
In the method from Connection, how much timeout should I give it? :S I have no idea what a normal timeout would be, how much time should it take? :)