Click or drag to resize

IEntityCoreRollbackFields Method

Replaces the current set of fields with the fields saved under the name specified. If no set of fields is found with the name specified an exception is thrown. Removes the entry after a succesful rollback.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax
void RollbackFields(
	string name
)

Parameters

name
Type: SystemString
Name under which the fields are stored which have to replace the current set of fields. Case sensitive
Exceptions
ExceptionCondition
ArgumentExceptionthrown when the name specified is not found.
InvalidOperationExceptionwhen this method is called while the object is participating in a transaction.
Remarks
replaces the current set of fields with the set of fields saved under the name specified. The current set of fields, with all the data are lost after a succesful rollback.
See Also