score:2
Accepted answer
Sounds like you want to use .EndsWith()
instead, e.g:
q.Where(x => x.Groups.EndsWith(";cat;"))
The OrmLite docs contains more OrmLite Example queries.
Source: stackoverflow.com
Related Articles
- LINQ Source Code Available
- creating Linq to sqlite dbml from DbLinq source code
- ServiceStack OrmLite "Like" Linq
- source code for LINQ 101 samples
- Adding ServiceStack OrmLite attributes in code instead of a property
- I have some code that I would like to turn to linq
- c# Linq or code to extract groups from a single list of source data
- Convert string[] to int[] in one line of code using LINQ
- Code equivalent to the 'let' keyword in chained LINQ extension method calls
- Linq code to select one item
- LIKE operator in LINQ
- How are people unit testing code that uses Linq to SQL
- Like in Lambda Expression and LINQ
- How to write linq query to match SQL like select top 100 * from tab?
- Is there something like LINQ for Java?
- Is something in Swift like LINQ in C#
- LINQ query to perform a projection, skipping or wrapping exceptions where source throws on IEnumerable.GetNext()
- LINQ 'join' expects an equals but I would like to use 'contains'
- How to use Dynamic LINQ (System.Linq.Dynamic) for LIKE operation?
- Syntax to execute code block inside Linq query?
- Enumerable.Empty<T>().AsQueryable(); This method supports the LINQ to Entities infrastructure and is not intended to be used directly from your code
- Best open source LINQ provider
- Use SQL LIKE operator in C# LINQ
- Is there a good source that gives an overview of linq optimizations?
- Except with LIKE condition in LINQ
- Does this LINQ code perform multiple lookups on the original data?
- How to understand the following C# linq code of implementing the algorithm to return all combinations of k elements from n
- Like operator or using wildcards in LINQ to Entities
- LINQ WHERE method alters source collection
- My Enumerable class does not work with Linq statements like .where in c#
- How do I copy two similar lists?
- Why is this LINQ query not executed when using foreach?
- object reference not set error in mvc5
- Querying across relationships with LINQ to Entity Framework
- MVC Foreach distinct value from database
- Sorting a list in .Net by one field, then another
- Dynamically-built LINQ query gives inconsistent results depending on how it's built
- Entity Framework - Include Take Top N for each parent
- Substring in linq
- Applying System.Linq.Expression to a List<T>
- How can I extract just the first record in a "one to many" relationship via LINQ?
- Dynamic SQL to LINQ Entity Framework
- Convert where clause containing select to Linq
- Linq let and if
- Implement Protobuf net v2 with entity framework return data
- Cleaner way to convert collection into another type?
- How to convert List<Tuple<int, int>> to Dictionary<int, List<int>>?
- Linq to SQL different result set depend on conditions
- Using C# Linq to test if string contains parts of a list of string
- how to fix SqlError :failed when converting date and/or time from character string. EF binaryexpression?