Tables: Article
, Author
, Comment
(1 article and 1 author can have * comments)
In the database is 1 article, 1 author and 1 comment.
The problem is, that code
myBD my_bd = new myBD();
var articles = by_bd.Article;
works OK, I can see that an Author
and an Article
has 1 comment.
But that code
var comm = (from u in my_bd.Comment
where ......
select u);
returns the comment but it has NULL values in property Article
and Author
. Why ?