I am trying to select from multiple string matches.
Condition-
select from CardTagTables whose column CardTagName doesn't have these strings- String1, String2.
List<string> stringArray =new List<string>{ "String1", "String2" };
var query = (from u in db.CardTables
join v in db.CardTagTables
on u.CardID equals v.FKCardTagID
where u.IsApproved == "YES" &&
!v.CardTagName.Contains(stringArray.ToString())
I am trying to fetch only records except strings in stringArray.
There are two strings- String1 and String2