Why not discard the data context and simply replace it with a new instance?
More Related Contents:
- LINQ-to-SQL vs stored procedures? [closed]
- Linq: adding conditions to the where clause conditionally
- LINQ Between Operator
- LINQ across multiple databases
- Learning about LINQ [closed]
- LINQ with SQLite (linqtosql)
- How to create a dynamic LINQ join extension method
- LINQ not updating on .SubmitChanges()
- How to dynamically add OR operator to WHERE clause in LINQ
- LINQ To SQL exception: Local sequence cannot be used in LINQ to SQL implementation of query operators except the Contains operator
- Linq To Sql – Dynamic OrderBy – Case When
- Is there a pattern using Linq to dynamically create a filter?
- Linq to SQL how to do “where [column] in (list of values)”
- Multiple WHERE clause in Linq
- How do I write this cross apply query in LINQ-to-SQL?
- Point connectionstring in dbml to app.config
- Building Dynamic LINQ Queries based on Combobox Value
- NHibernate vs LINQ to SQL
- Returning IEnumerable vs. IQueryable
- Entity framework linq query Include() multiple children entities
- Understanding .AsEnumerable() in LINQ to SQL
- Linq version of SQL “IN” statement
- LINQ Join with Multiple Conditions in On Clause
- Am I misunderstanding LINQ to SQL .AsEnumerable()?
- LINQ Where Ignore Accentuation and Case
- Linq query with nullable sum
- Why use LINQ Join on a simple one-many relationship?
- Last and LastOrDefault not supported
- Linq “Could not translate expression… into SQL and could not treat it as a local expression.”
- If Else in LINQ