我有以下代码
using (AdventureWorksEntities database = new AdventureWorksEntities())
Run Code Online (Sandbox Code Playgroud)
但它显示了这一点
'new_WCF_App1.AdventureWorksEntities':在using语句中使用的类型必须可以隐式转换为'System.IDisposable'
怎么解决这个问题
| 归档时间: |
|
| 查看次数: |
2800 次 |
| 最近记录: |