I have a table called Email Table and I have a table called ParentEmail Table which contains a column called ParentID.
I want to include ParentEmail in Parent table when I make a list.
May I know how to do it ?
This didn’t work:
var parent = db.parent.include("email").tolist();
Does anyone know how to include this kind of table structure?
Parent
parentID
Username
Password
Firstname
....
EmailID
Email
ParentID
Finally i was get my solution from one members of this page
ASP/MVC3 Razor Linq
Sorry and Thank you for every one who replied me =D Thank you