Say I have an MS-SQL 2005 table named "People" with the following lines:
|FirstName|LastName|
|JD |Conley |
|Joe |Schmo |
|Mary |Jane |
I want to execute an SQL statement, for example:
select * from People where FirstName > 'JD'
The problem I am facing is that I cannot think of a way to get LINQ to SQL to generate this SQL statement. Obviously, I cannot use the ">" and "<" operators on strings in C #.
source
share