Write a query to get the list of all employees whose name is "test" ?

 Posted by Akiii on 10/30/2012 | Category: LINQ Interview questions | Views: 1775 | Points: 40
Answer:

var employeeList = (from h in context.Employee

where h.EmployeeName == "test"
select h).ToList<Employee>();




Thanks and Regards
Akiii


| Alert Moderator 

Comments or Responses

Login to post response