Click or drag to resize

IDataAccessAdapterSaveEntity Method (IEntity2)

Saves the passed in entity to the persistent storage. Will not refetch the entity after this save. The entity will stay out-of-sync. If the entity is new, it will be inserted, if the entity is existent, the changed entity fields will be changed in the database. Will do a recursive save.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
bool SaveEntity(
	IEntity2 entityToSave
)

Parameters

entityToSave
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntity2
The entity to save

Return Value

Type: Boolean
true if the save was succesful, false otherwise.
Remarks
Will use a current transaction if a transaction is in progress
See Also