Je sais que la méthode .Contains()
fait comme LIKE %therm%
, la méthode .StartsWith()
fait comme LIKE therm%
et la méthode .EndsWith()
comme LIKE %therm
mais ...comme avec LINQ to Entities
Y at-il un moyen de faire comme ci-dessous sur **Linq to Entities**
?
SELECT * FROM [dbo].[Users] WHERE Name LIKE 'rodrigo%otavio%diniz%waltenberg'
PS: J'utilise LINQ TO ENTITIES. PAS LINQ TO SQL
double possible de [? Comment utiliser 'LIKE' SQL avec LINQ to Entities] (http://stackoverflow.com/questions/3095781/how-to-use-sql-like -with-linq-to-entities) –