Table<'TEntity>.ITable.AttachAll Method (IEnumerable, Boolean)
.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)
private abstract AttachAll : entities:IEnumerable * asModified:bool -> unit private override AttachAll : entities:IEnumerable * asModified:bool -> unit
Parameters
- entities
-
Type:
System.Collections.IEnumerable
The collection of entities to be attched.
- asModified
-
Type:
System.Boolean
true to attach the entities as modified; false to attach the entities as unmodified.
Implements
ITable.AttachAll(IEnumerable, Boolean)This member is an explicit interface member implementation. It can be used only when the Table<'TEntity> instance is cast to an ITable interface.
.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: