How to save changes back to database using 'Link over Dataset'
-
Hi Guys, I am a fresher in LINQ. I want to change UnitPrice (one of the column in table table1) of product name="Alice mutton" and reflect back the changed UnitPrice back to database using data set. I got the result, but with Update() method, in ADO.NET 2.0. How to do the same in LINQ? I think there must be another method. such as SubmitChanges() in Linq to Sql...
Thanks, Chintan(India)
-
Hi Guys, I am a fresher in LINQ. I want to change UnitPrice (one of the column in table table1) of product name="Alice mutton" and reflect back the changed UnitPrice back to database using data set. I got the result, but with Update() method, in ADO.NET 2.0. How to do the same in LINQ? I think there must be another method. such as SubmitChanges() in Linq to Sql...
Thanks, Chintan(India)
I believe there is a full articles and tutorial over at linqhelp.com . Try over there if you can not find your answer here.
-
Hi Guys, I am a fresher in LINQ. I want to change UnitPrice (one of the column in table table1) of product name="Alice mutton" and reflect back the changed UnitPrice back to database using data set. I got the result, but with Update() method, in ADO.NET 2.0. How to do the same in LINQ? I think there must be another method. such as SubmitChanges() in Linq to Sql...
Thanks, Chintan(India)
Yep, using LINQ to SQL, you call SubmitChanges on the DataContext.
Life, family, faith: Give me a visit. From my latest post: "We are Christian, resistance is futile. Your Jewish traits will be assimilated into the Church collective." Judah Himango