語言

Table<TEntity>.ITable.AttachAll 方法

定義

將集合中的所有實體以修改或未修改狀態附加於 。DataContext

多載

名稱 Description
ITable.AttachAll(IEnumerable)

將集合中的所有實體以修改或未修改狀態附加於 。DataContext

ITable.AttachAll(IEnumerable, Boolean)

將集合中的所有實體以修改或未修改狀態附加於 。DataContext

ITable.AttachAll(IEnumerable)

將集合中的所有實體以修改或未修改狀態附加於 。DataContext

 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

參數

entities
IEnumerable

要附著的實體集合。

實作

備註

此成員為明確介面成員實作。 它只能在實 Table<TEntity> 例投射到 ITable 介面時使用。

適用於

ITable.AttachAll(IEnumerable, Boolean)

將集合中的所有實體以修改或未修改狀態附加於 。DataContext

 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

參數

entities
IEnumerable

要附著的實體集合。

asModified
Boolean

true 以修改後的實體附加; false 以便將實體附加為未修改。

實作

備註

此成員為明確介面成員實作。 它只能在實 Table<TEntity> 例投射到 ITable 介面時使用。

適用於