How to get child table along with the parent in entity framework using entity sql like “select value tablename from tablename”?

You call Include() on your ObjectQuery just like you do with LINQ to Entities. It's no different if you create your query using ESQL.

You call Include() on your ObjectQuery, just like you do with LINQ to Entities. It's no different if you create your query using ESQL.

Thanks alot craig :) – gaurav Aug 20 '09 at 13:46.

Var parentTable = "select value parentTable from parentTable as pt inner join childTable as ct on pt. Doing this parentTable.childTable.count() returns 0. So how can I get the childTable loaded along with the parent table?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions