SQLFunction não existe
using System.Data.Objects; <- System.Data.Entity.dll
using System.Data.Objects.SqlClient; <- System.Data.Entity.dll
using System.Data.Linq; <- System.Data.Linq.dll
Crazy Coyote