Mysql连接即时释放

1:mysql类继承IDispose接口
2:应用初始化MySQL时使用语法:using(var mysqlconn = new Mysql()){ }

原文地址:https://www.cnblogs.com/wa502/p/12187189.html