Table<TEntity>.ITable.AttachAll Metoda

Definice

Připojí všechny entity kolekce k DataContext upravenému nebo nemodifikovanému stavu.

Přetížení

Name Description
ITable.AttachAll(IEnumerable)

Připojí všechny entity kolekce k DataContext upravenému nebo nemodifikovanému stavu.

ITable.AttachAll(IEnumerable, Boolean)

Připojí všechny entity kolekce k DataContext upravenému nebo nemodifikovanému stavu.

ITable.AttachAll(IEnumerable)

Připojí všechny entity kolekce k DataContext upravenému nebo nemodifikovanému stavu.

 virtual void System.Data.Linq.ITable.AttachAll(System::Collections::IEnumerable ^ entities) = System::Data::Linq::ITable::AttachAll;
void ITable.AttachAll(System.Collections.IEnumerable entities);
abstract member System.Data.Linq.ITable.AttachAll : System.Collections.IEnumerable -> unit
override this.System.Data.Linq.ITable.AttachAll : System.Collections.IEnumerable -> unit
Sub AttachAll (entities As IEnumerable) Implements ITable.AttachAll

Parametry

entities
IEnumerable

Kolekce entit, které se mají připojit.

Implementuje

Poznámky

Tento člen je explicitní implementace člena rozhraní. Lze jej použít pouze v případě, Table<TEntity> že je instance přetypována do ITable rozhraní.

Platí pro

ITable.AttachAll(IEnumerable, Boolean)

Připojí všechny entity kolekce k DataContext upravenému nebo nemodifikovanému stavu.

 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);
abstract member System.Data.Linq.ITable.AttachAll : System.Collections.IEnumerable * bool -> unit
override this.System.Data.Linq.ITable.AttachAll : System.Collections.IEnumerable * bool -> unit
Sub AttachAll (entities As IEnumerable, asModified As Boolean) Implements ITable.AttachAll

Parametry

entities
IEnumerable

Kolekce entit, které se mají připojit.

asModified
Boolean

true k připojení entit podle změny; false pro připojení entit jako nezměněných.

Implementuje

Poznámky

Tento člen je explicitní implementace člena rozhraní. Lze jej použít pouze v případě, Table<TEntity> že je instance přetypována do ITable rozhraní.

Platí pro