asp.net - like operator in linq -


i need use operator in linq query

for this:

timb = time.timbratures.include("anagrafica_dipendente")                 .where(p => p.anagrafica_dipendente.cognome + " " + p.anagrafica_dipendente.nome "%ci%"); 

how can do?

timb = time.timbratures.include("anagrafica_dipendente")            .where(p => (p.anagrafica_dipendente.cognome + " "                        + p.anagrafica_dipendente.nome).contains("ci")); 

Comments

Popular posts from this blog

Delphi Wmi Query on a Remote Machine -