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