dbEntities db = new dbEntities(); foreach (ttCategory c in db.ttCategories) { var tags=(from t in db.ttproduktes where t.ttCategories.Contains(c) select t.ttTags);
var tags = (from t in db.ttproduktes where t.ttCategories.Any(q => q.Id == c.Id) select t.ttTags);