I've a table that contains details of Members. The Name field will be having values like "John Antony", "Sarah Ann Mathew", "Josh John".
How do I select all members who are having names containing any of the words in "John, Ann, Mathew".
I've tried implementations like db.members.Where(m=>names.Contains(m.Name));
but the issue is that I am trying to match any word in m.Name
.
Thanks in advance.