2010-01-28 78 views

回答

3

假設標籤表中有一個名稱屬性,它可能是這樣的(大約):

string tagName = "tag-to-search-for"; 
var query = Blog.Where(blog => blog.Tag.Any(tag => tag.Name == tagName));