Click or drag to resize
UnitOfWork2AddForSave Method (IEntity2)
Adds the passed in entity for saving. No refetching will be applied.

Namespace: SD.LLBLGen.Pro.ORMSupportClasses
Assembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax
public bool AddForSave(
	IEntity2 entityToSave
)

Parameters

entityToSave
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntity2
The entity2 to save via this unit of work

Return Value

Type: Boolean
true if the entity is accepted, false if the entity is rejected (already added for a similar action)
See Also