C# - 没有SqlMethods的Intellisense(Linq/EntityFramework)

Nea*_*ers 1 c# linq entity-framework

我已经看过很多SqlMethods.Like的例子并想尝试一下,但是我无法通过intellisense来识别它.我需要引用什么或者需要添加什么"usings"语句.

Nea*_*ers 10

我想到了:

添加参考System.Data.Linq,添加代码:

使用System.Data.Linq.SqlClient