Table<TEntity>.ITable.AttachAll Table<TEntity>.ITable.AttachAll Table<TEntity>.ITable.AttachAll Method

Definition

Attaches all entities of a collection to the DataContext in either a modified or unmodified state.

Overloads

ITable.AttachAll(IEnumerable) ITable.AttachAll(IEnumerable) ITable.AttachAll(IEnumerable)

Attaches all entities of a collection to the DataContext in either a modified or unmodified state.

ITable.AttachAll(IEnumerable, Boolean) ITable.AttachAll(IEnumerable, Boolean) ITable.AttachAll(IEnumerable, Boolean)

Attaches all entities of a collection to the DataContext in either a modified or unmodified state.

ITable.AttachAll(IEnumerable) ITable.AttachAll(IEnumerable) ITable.AttachAll(IEnumerable)

Attaches all entities of a collection to the DataContext in either a modified or unmodified state.

 virtual void System.Data.Linq.ITable.AttachAll(System::Collections::IEnumerable ^ entities) = System::Data::Linq::ITable::AttachAll;
void ITable.AttachAll (System.Collections.IEnumerable entities);
Sub AttachAll (entities As IEnumerable) Implements ITable.AttachAll

Parameters

entities
IEnumerable IEnumerable IEnumerable

The collection of entities to be attached.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the Table<TEntity> instance is cast to an ITable interface.

ITable.AttachAll(IEnumerable, Boolean) ITable.AttachAll(IEnumerable, Boolean) ITable.AttachAll(IEnumerable, Boolean)

Attaches all entities of a collection to the DataContext in either a modified or unmodified state.

 virtual void System.Data.Linq.ITable.AttachAll(System::Collections::IEnumerable ^ entities, bool asModified) = System::Data::Linq::ITable::AttachAll;
void ITable.AttachAll (System.Collections.IEnumerable entities, bool asModified);
Sub AttachAll (entities As IEnumerable, asModified As Boolean) Implements ITable.AttachAll

Parameters

entities
IEnumerable IEnumerable IEnumerable

The collection of entities to be attached.

asModified
Boolean Boolean Boolean

true to attach the entities as modified; false to attach the entities as unmodified.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the Table<TEntity> instance is cast to an ITable interface.

Applies to