Click or drag to resize
EntityCoreTFieldsRollbackFields 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.2.0.0 (5.2.17.0403)
Syntax
public virtual 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