标签: vb.net linq-to-sql
使用这一行会很好:
results = (From t In New MyDataContext().MyTable Select t ...
而不是:
Using context As New MyDataContext results = (From t In context.MyTable Select t... End Using
但Dispose没有被调用。使用第一种方法有什么问题?
Dispose