List out the data context functions. Where do we use “submitchanges()"?
Answer / Sanjiv
DataContext provides several functions like InsertOnSubmit(), DeleteOnSubmit(), Attach(), and SubmitChanges(). The SubmitChanges() method is used to save all changes made to the data context (e.g., adding, deleting, or updating records) by executing the corresponding SQL commands (INSERT, UPDATE, DELETE).
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of System.Data.DLinq.dll?
How LINQ query is compiled to Expression Trees?
What are disadvantages of LINQ?
Can you explain brief about Aggregate() extension method in LINQ?
What is a linq cardiac monitor?
What is "linq to objects"?
What is Extension method?
What is linq and its advantages?
What is the difference between entity framework and linq?
Is linq to sql dead?
What is the query syntax?
What are the types of LINQ?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)