I am fetching data from table using web api and entity framework.
i have .edmx file with relational tables.
there is only 1 record into EmployeeInfo table and this table has foreign key data with other tables.
when i try to fetch data from EmployeeInfo table using following statement, i am getting large data instead of single record.
return db.EmployeeInfo.ToList();
-----
Kindly help me to pull out exact available records from table using entity framework and web api