Marks all UnitOfWork's entities as saved after a succesfull database operation via the web service.

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

Syntax

C#
public static void MarkEntitiesAsSaved(
	this UnitOfWork2 unitOfWork
)
Visual Basic
<ExtensionAttribute> 
Public Shared Sub MarkEntitiesAsSaved ( 
	unitOfWork As UnitOfWork2
)
Visual C++
public:
[ExtensionAttribute]
static void MarkEntitiesAsSaved(
	UnitOfWork2^ unitOfWork
)
F#
static member MarkEntitiesAsSaved : 
        unitOfWork : UnitOfWork2 -> unit 

Parameters

unitOfWork
Type: UnitOfWork2

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type UnitOfWork2. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

Note that process queues need to be constructed before this method should be called, but it usually is, since this method should be called after the UnitOfWork.Commit method.

See Also