UnitOfWorkAddForSave Method (IEntity) |
Adds the passed in entity for saving. No recursion will be applied during the save of this entity when the unit of work is committed.
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 bool AddForSave(
IEntity entityToSave
)
Public Function AddForSave (
entityToSave As IEntity
) As Boolean
Parameters
- entityToSave
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntity
The entity to save via this unit of work
Return Value
Type:
Booleantrue if the entity is accepted, false if the entity is rejected (already added for a similar action)
See Also