LINQ version of SQL's LIKE statement

Posted by Erwin on Stack Overflow See other posts from Stack Overflow or by Erwin
Published on 2010-03-29T09:55:40Z Indexed on 2010/03/29 10:03 UTC
Read the original article Hit count: 225

Filed under:
|

Hi fellow coders

I'm new at LINQ, searching the net for LINQ samples that mimic SQL's LIKE statement doesn't satisfy myself.

What I want is producing the same query result as this SQL

SELECT * FROM table_1 WHERE column_1 LIKE '__0%'

I want to query from table_1 where column_1's third character is '0'

Is there equivalent statement in LINQ

:D thank you

© Stack Overflow or respective owner

Related posts about LINQ

Related posts about sql