Прочетете на английски Редактиране

Споделяне чрез


ITable.DeleteAllOnSubmit(IEnumerable) Method

Definition

Puts all entities from the collection into a pending delete state.

C#
public void DeleteAllOnSubmit(System.Collections.IEnumerable entities);

Parameters

entities
IEnumerable

The collection from which all items are removed.

Remarks

Call SubmitChanges to perform the actual deletion in the database.

Applies to

Продукт Версии
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1