Linq To Entities: String.Contains a list [duplicate]
问题 This question already has answers here : How do you check if a string contains any strings from a list in Entity Framework? (4 answers) Closed 19 days ago . I am using ASP.net Core 3.0 with Entity Framework Core 3.0 and Pomelo.EntityFrameworkCore provider for MySQL , I need to query all the users that are from specific Towns. Lets say for example I have a list of strings called targettedTowns in which I have the following towns var targettedTowns = new List<string>() {"korangi","landhi","zia