score:0
I think the problem is that CompareTo isn't something that can be mapped to SQL.
What type is cod_coluna? You may be able to use == or != if you don't really need CompareTo.
Source: stackoverflow.com
Related Query
- Linq for NHibernate and fetch mode of eager loading
- How to do a case-insensitive string where in NHibernate Linq query?
- Convert string to int in an Entity Framework linq query and handling the parsing exception
- Concatenate int and string in LINQ to Entities
- Split and then Joining the String step by step - C# Linq
- Enumerable.Empty<T>().AsQueryable(); This method supports the LINQ to Entities infrastructure and is not intended to be used directly from your code
- NHibernate Linq provider and take() skip() with eager fetching
- Split a separated string into hierarchy using c# and linq
- NHibernate 3.x deletes child entities when combining LINQ paging, many-to-many, and subselect fetch
- NHibernate 3.1 Linq with Contains and Any
- Linq group string array by count and sort
- Getting "source" of LINQ query and serialize to string
- How linq function OrderByDescending and OrderBy for string length works internally? Is it faster than doing it with loop?
- linq join on guid and string column
- LINQ to NHibernate and let keyword
- LINQ Source Code Available
- Dynamic LINQ - Unable to convert between GUID and string
- GroupBy String and Count in LINQ
- How might I complete this example using LINQ and string parsing?
- NHibernate querying on a string collection using Linq results in either error or empty collection
- Linq Order by when column name is dynamic and pass as a string to a function
- Linq Greater and Less Than operator on string containing date
- Refactor Linq code and "LINQ to Entities does not recognize the method"
- Split string and set default value if separator not found WITH LINQ
- Split each two-word string in a list, compare if same and count using Linq
- How can I code an outer join using LINQ and EF6?
- NHibernate Linq and DistinctRootEntity
- Why do linq search has a huge difference in efficiency when I use string and array especially for large data?
- LINQ to NHibernate - compare guid with string
- Linq to NHibernate extensibility for custom string query operations?
More Query from same tag
- LINQ check list of objects contain a value AND not some other values
- Linq sort by 2 columns with FirstOrDefault
- EF Core how to add a filter to .ThenIncludes
- How Linq infers types from Lambda
- Dynamic LINQ OrderBy on IEnumerable<T> / IQueryable<T>
- What does LINQ-to-SQL Table<T>.Attach do?
- Group items by month and by date
- Compare two Iqueryables based on a condition
- Dynamic LINQ filter never retrieves correct results (UWP/XAML)
- Apply IQueryable reference on another object
- How to get a list of elements out of a list based on conditions
- Can you advise me a resource with LINQ/lambda code exercises?
- .Select() in LINQ
- Generating a kml file on the fly using C# and Linq
- Direct implementation of EF Core many-to-many relationship unable to detect the related table
- How do I sort strings alphabetically while accounting for value when a string is numeric?
- Universal app object distinct by variable
- Perform a search with LINQ and ignoring characters like î or ô or ê
- LINQ to Entities does not recognize the method 'System.Object GetValue(...)'
- LINQ query with multiple conditions in WHERE clause
- VB.NET Entity Framework issue with WHERE clause and Boolean values
- LINQ Join and GroupJoin
- Query for List within List
- Remove items from IEnumerable<T>
- How do I combine IQueryables into a single call?
- C# Find ultimate parent with LINQ
- Why is var Int32 not List<Int32> in this example
- Linq and choosing a default value if query is empty without checking size
- Declaring DataRow within a foreach or for Loop
- Linq function like .Net string.CompareOrdinal