score:3
Accepted answer
SubmitChanges will send the DML statements. Commit will commit the transaction. While the transaction is not committed, other readers will not see your changes. You have no risk of saving partial changes or even making them visible for a shot period of time. You can call SubmitChanges multiple times. Without an explicit transaction SubmitChanges will use one internally.
Source: stackoverflow.com
Related Articles
- LINQ Source Code Available
- Linq DataContext SubmitChanges InvalidOperationException from ZombieCheck
- LinQ DataContext - The operation cannot be performed during a call to SubmitChanges
- Determine the source DataContext for a Linq to Sql query
- Using SubmitChanges to create a LINQ Transaction
- creating Linq to sqlite dbml from DbLinq source code
- Can I prevent a LINQ DataContext from using a transaction when a TransactionScope is present?
- Is maintain the transaction with a static LINQ to SQL DataContext in asp.net possible?
- source code for LINQ 101 samples
- LINQ to SQL: DataContext changes are not reflected unless SubmitChanges is called
- c# Linq or code to extract groups from a single list of source data
- Convert string[] to int[] in one line of code using LINQ
- Code equivalent to the 'let' keyword in chained LINQ extension method calls
- New transaction is not allowed because there are other threads running in the session LINQ To Entity
- Linq code to select one item
- TransactionScope vs Transaction in LINQ to SQL
- How are people unit testing code that uses Linq to SQL
- LINQ query to perform a projection, skipping or wrapping exceptions where source throws on IEnumerable.GetNext()
- Syntax to execute code block inside Linq query?
- Get table-data from table-name in LINQ DataContext
- Enumerable.Empty<T>().AsQueryable(); This method supports the LINQ to Entities infrastructure and is not intended to be used directly from your code
- Best open source LINQ provider
- Is there a good source that gives an overview of linq optimizations?
- Does this LINQ code perform multiple lookups on the original data?
- How to understand the following C# linq code of implementing the algorithm to return all combinations of k elements from n
- LINQ WHERE method alters source collection
- Fastest way to fill DataTable from LINQ query using DataContext
- Linq cannot find inserted record before submitchanges
- LINQ to SQL: is there a complete list of supported IQueryable extension methods?
- Where can I view LINQ source code?
- How to query the DataGridView for the header name?
- ASP.NET Session and LINQ
- How to nest objects in linq query?
- F# linq - How to filter for only unique values?
- Linq .Sum() function fails when there is nothing to Sum
- Convert DataTable(dynamic columns) into List<T>
- NULL Subcollections in framework, OK in LINQPad
- Linq - Get all keys from dictionary where all values in the value list are equal to criteria
- What happens if you mix supported and unsupported operators in NHibernate?
- How to seperate string by commas and colons using linq?
- Recommended way to convert IGrouping<TKey, TValue> to IDictionary<TKey, IEnumerable<TValue>>
- C# Dictionary Map
- Hash checking method in where clause MongoDB and LINQ
- LINQ - "Index was outside the bounds of the array."
- Use PHPLinq in codeigniter
- Need help refactoring a LINQ statement with a Group By clause?
- linq vs ToDictionary() and TryGetValue() - what is more efficient?
- C#: LINQ to XML Show particular Node attribute values from XML file
- Find (and extract) complex correllations to find rule violations
- Return entities after intersecting with list of web controls using LINQ