I'm trying to find all entries that have a SALARIO
greater than 10,000. The SALARIO
column in my SQL Server table is of type varchar
and the query I'm trying to write goes like this
from e in db.ASALARIADOS
where int.Parse(e.SALARIO) > 10000
select e;
But I get a not supported exception. How should I handle this situation?