Deletes all dirty objects inside a collection.

Namespace: MonoSoftware.LLBLGen
Assembly: MonoSoftware.LLBLGen (in MonoSoftware.LLBLGen.dll) Version: 1.0.40.661 (1.0.40.661)

Syntax

C#
public virtual int DeleteEntityCollection(
	IEntityCollection2 collectionToDelete
)
Visual Basic
Public Overridable Function DeleteEntityCollection ( 
	collectionToDelete As IEntityCollection2
) As Integer
Visual C++
public:
virtual int DeleteEntityCollection(
	IEntityCollection2^ collectionToDelete
)
F#
abstract DeleteEntityCollection : 
        collectionToDelete : IEntityCollection2 -> int 
override DeleteEntityCollection : 
        collectionToDelete : IEntityCollection2 -> int 

Parameters

collectionToDelete
Type: IEntityCollection2
Collection to delete.

Return Value

Type: Int32
Number of items deleted.

Implements

IRepository..::..DeleteEntityCollection(IEntityCollection2)

See Also