Saves all dirty entities in an entity 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 SaveEntityCollection(
	IEntityCollection2 collectionToSave
)
Visual Basic
Public Overridable Function SaveEntityCollection ( 
	collectionToSave As IEntityCollection2
) As Integer
Visual C++
public:
virtual int SaveEntityCollection(
	IEntityCollection2^ collectionToSave
)
F#
abstract SaveEntityCollection : 
        collectionToSave : IEntityCollection2 -> int 
override SaveEntityCollection : 
        collectionToSave : IEntityCollection2 -> int 

Parameters

collectionToSave
Type: IEntityCollection2
Entity collection to save.

Return Value

Type: Int32
Number of entities saved.

Implements

IRepository..::..SaveEntityCollection(IEntityCollection2)

See Also