UnitOfWork2IUnitOfWorkCoreAddForSave Method (IEntityCore, Boolean) |
Adds the passed in entity for saving. No refetching will be applied. Save is recursive.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax void IUnitOfWorkCore.AddForSave(
IEntityCore toSave,
bool refetch
)
Private Sub AddForSave (
toSave As IEntityCore,
refetch As Boolean
) Implements IUnitOfWorkCore.AddForSave
Parameters
- toSave
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCore
The entity to save via this unit of work - refetch
- Type: SystemBoolean
When true, it will refetch the entity saved after the save action.
Return Value
Type:
true if the entity is accepted, false if the entity is rejected (already added for a similar action)
Implements
IUnitOfWorkCoreAddForSave(IEntityCore, Boolean)See Also