How to use a special (Like) Such as used in SQL?
Examples:
%:Any string of zero or more characters._:(underscore) Any single character.[ ]:Any single character within the specified range[a-f]or set[abcdef].[^]:Any single character not within the specified range([^a-f]or set[^abcdef].
I used manual queries with the command (SqlQuery) but I did not like, so I want a method by linq directly.
Dim Db As New HotelEntities
Dim G = (From i In Db.Profiles.SqlQuery("select * from Profile where First_Name Like '%____r'", "")).ToList
I also used the command SqlMethods.Like but did not work for me.