Click or drag to resize

UnitOfWorkElement2 Constructor (IEntity2, IPredicateExpression, Boolean, Boolean)

Creates a new UnitOfWorkElement instance.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
public UnitOfWorkElement2(
	IEntity2 entity,
	IPredicateExpression restriction,
	bool refetch,
	bool recurse
)

Parameters

entity
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntity2
entity involved
restriction
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicateExpression
Restriction.
refetch
Type: SystemBoolean
When true, it will refetch the entity saved after the save action.
recurse
Type: SystemBoolean
When true, it will save all dirty objects referenced (directly or indirectly) by this entity also.
See Also