show data from more tables relation

Posted by Ahmedsa under LINQ on 8/23/2016 | Points: 10 | Views : 163 | Status : [Member] | Replies : 0
in this diagram

http://www.mediafire.com/view/x9d2rf9lgnbrnzz/ERD_Course5.jpg

I need to make view contain to following

Name,Email,Salary,DistrictName,CountryName,CityName,CourseName,LanguageName,levelName

all id is identity increment by 1

i already have ef design for these tables

how to make view for that

in controller

public ActionResult index()

{

//what i write here to create view

return view();

}

in view what i write

<html>

<html>

and what model i will create to show data

public class emp

{

}




Responses

(No response found.)

Login to post response