like operator in linq

Posted by Luca Romagnoli on Stack Overflow See other posts from Stack Overflow or by Luca Romagnoli
Published on 2010-04-28T10:57:03Z Indexed on 2010/04/28 11:03 UTC
Read the original article Hit count: 353

Filed under:
|
|
|

i need to use the like operator in a linq query

for this:

timb = time.Timbratures.Include("Anagrafica_Dipendente")
                .Where(p => p.Anagrafica_Dipendente.Cognome + " " + p.Anagrafica_Dipendente.Nome like "%ci%");

How can i do?

© Stack Overflow or respective owner

Related posts about LINQ

Related posts about ASP.NET