Saves all dirty entities in an entity collection. Recursively saves all child entities and refetches the collection.
Namespace: MonoSoftware.LLBLGenAssembly: MonoSoftware.LLBLGen (in MonoSoftware.LLBLGen.dll) Version: 1.0.40.661 (1.0.40.661)
Syntax
C# |
---|
public virtual int SaveEntityCollection(
IEntityCollection2 collectionToSave,
bool refetchAfterSave,
bool recurse
) |
Visual Basic |
---|
Public Overridable Function SaveEntityCollection (
collectionToSave As IEntityCollection2,
refetchAfterSave As Boolean,
recurse As Boolean
) As Integer |
Visual C++ |
---|
public:
virtual int SaveEntityCollection(
IEntityCollection2^ collectionToSave,
bool refetchAfterSave,
bool recurse
) |
F# |
---|
abstract SaveEntityCollection :
collectionToSave : IEntityCollection2 *
refetchAfterSave : bool *
recurse : bool -> int
override SaveEntityCollection :
collectionToSave : IEntityCollection2 *
refetchAfterSave : bool *
recurse : bool -> int |
Parameters
- collectionToSave
- Type: IEntityCollection2
Entity collection to save.
- refetchAfterSave
- Type: System..::..Boolean
When set to true refetches the collection after save.
- recurse
- Type: System..::..Boolean
Recursively saves all child entities.
Return Value
Type:
Int32Number of entities saved.
Implements
IRepository..::..SaveEntityCollection(IEntityCollection2, Boolean, Boolean)See Also