Hej, mam 2 klasy POCO
public partial class News
{
public int Id { get; set; }
public string Title { get; set; }
public string ShortArticle { get; set; }
public string Article { get; set; }
public string Author { get; set; }
public System.DateTime Date { get; set; }
public NewsState State { get; set; }
public virtual List<Tag> Tags { get; set; }
}
public class Tag
{
public int Id { get; set; }
public string Name { get; set; }
}
Od paru dni próbuję zrobić wyszukiwanie wszystkich newsów o danym tagu, ale coś mi nie wychodzi :|
Nie mam pojęcia jak to zapisać w LINQ. Macie jakieś sugestie? Ta relacja jest w ogóle zaimplementowana?