.NET ISSUES Solve Log (1)

来源:互联网 发布:党章党规网络测试 编辑:程序博客网 时间:2024/04/29 06:28

1, 

If you are using “using” statements to manage your data contexts in Linq to SQL (I’m not sure if this applies to Linq to Entity but I imagine it does") and you get the following error: “type used in a using statement must be implicitly convertible to 'System.IDisposable'”, simply add a reference to the “System.Data.Linq” assembly and it solves the problem.

image






原创粉丝点击