I have the following Linq To Sql select statement:
s in dataContext.SalesTable
s.Sales1 != null && s.Sales1 != string.Empty
R# is suggesting that I replace the null and empty test for s.Sales1 with
!string.IsNullOrEmpty(s.Sales1), but the compiler is complaining that the
string.IsNullOrEmpty() method 'has no supported translation to SQL'.
Is this because R# can't differentiate between flavors of Linq?