ITable::AttachAll Method (IEnumerable^)
.NET Framework (current version)
Attaches all entities of a collection to the DataContext in either a modified or unmodified state.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
Parameters
- entities
-
Type:
System.Collections::IEnumerable^
The collection of entities.
For more information about how to use this method, see Data Retrieval and CUD Operations in N-Tier Applications (LINQ to SQL).
.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Show: