阅读背景:

在处理数据库相关类时,在C#中使用`using`语句是最佳实践吗?

来源:互联网 

The using statement automatically execute the Dispose method contained in IDisposable, database related classes (like SqlConnection, SqlCommand, etc) implement this interface. statement automatically execute the D




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: