Click or drag to resize

IEntityRefetch Method

Refetches the Entity from the persistent storage. Refetch is used to re-load an Entity which is marked "Out-of-sync", due to a save action. Refetching an empty Entity has no effect.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax
bool Refetch()

Return Value

Type: Boolean
true if Refetch succeeded, false otherwise
Exceptions
ExceptionCondition
ORMQueryExecutionExceptionWhen an exception is caught during the save process. The caught exception is set as the inner exception. Encapsulation of database-related exceptions is necessary since these exceptions do not have a common exception framework implemented.
See Also