I have tables with 2 level hierarchy, Parent->Child->GrandChild I have create stored procedure with three table valued input parameter ParentTable, ChildTable, GrandChild Table.
Now, I want to consume it in .net using entity framework.
Solution all over internet is, create DataTable in .net , store data in it and pass the same as parameter in stored procedure. But, I want to use entities instead of data table as data is stored in entity objects. Please suggest. Many Thanks.