c# - MySQL Connector .NET EF6 operator LIKE not working -


i using mysql connector .net entityframework 6, version 6.9.5.0.

i build query "like" :

        var q = u in ctx.db.users                 u.name.startswith(query)                 select u; 

it compiled :

select ... `user` `extent1`  `extent1`.`name` 'p__linq__0%' 

so query fails, because users' name never this... (maybe 1 day ?)

is bug, expected behavior or have missed ?

thanks.

found 2 tickets in mysql bugtracker :


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -