Simple.data and Connection closing -


i using simple.data oracle managed data access .

https://github.com/simonh/simple.data.oracle

currently there many connections open , not closed in server. how close same .

sure.

string constr = "user id=scott;password=tiger;data source=oracle";  oracleconnection con = new oracleconnection(constr);  con.open();  // stuff  con.dispose(); 

this basic example of how close connection. dispose object.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

node.js - Express and Redis - If session exists for this user, don't allow access -

excel - I can't get the attachement of the email PHP -