UnitOfWorkElement2 Constructor (IEntity2, IPredicateExpression, Boolean, Boolean) |
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
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