UnitOfWorkElement2 Constructor (IEntity2, IPredicateExpression, Boolean, Boolean) |
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax public UnitOfWorkElement2(
IEntity2 entity,
IPredicateExpression restriction,
bool refetch,
bool recurse
)
Public Sub New (
entity As IEntity2,
restriction As IPredicateExpression,
refetch As Boolean,
recurse As Boolean
)
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