I have this request in my C # file and it works fine:
from var in db.database_1 where var.database_2.primarycat.Length > 0 && var.meditype.Contains("All") xxx select new XElement("id", new XElement("temp", var.database_2.name)
Now I want to insert this request into the where argument in xxx :
AND name IN ( SELECT primarycat from database_2 GROUP BY primarycat HAVING COUNT(*) > 1)
Can someone help me?
source share