I have taken North wind database for example. If you want to update the Product name in the table Products where Product Id equals 1,try this Query..
NorthwindEntities dbContext =newNorthwindEntities(); var product =(from p in dataContext.Products where p.ProductID==1 select p).Single();
product.Name="Updated product name";
edit | flag
Gokul A Answered on: Jun 16, 2011 at 7:09PM
Post your Answer
Welcome to Ask Amoeba! This is 100% free and interactive site for sharing professional Questions and Answers, Opensource projects, Interview questions. Learners, beginners, Experts stop and share your knowledge and ideas!