Click here to Skip to main content
15,888,085 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
EmployeeDataContext data = new EmployeeDataContext();
data.ExecuteCommand("insert into emp values(6,'shibaji','ats'");

//    var names=data.emps.Single()


This single method is not supported in my application.
Posted
Updated 2-Nov-10 0:15am
v2
Comments
JF2015 2-Nov-10 6:17am    
What is the actual question?
Henry Minute 2-Nov-10 6:37am    
How do you know it is not supported? Have you received an error message? If so, what is it?

1 solution

It probably is supported. You just need to include the System.Linq namespace manually at the top of your class.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900