Click or drag to resize

EntityBaseRefetch 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.11.0.0 (5.11.23.1114)
Syntax
public abstract bool Refetch()

Return Value

Type: Boolean
true if Refetch succeeded, false otherwise

Implements

IEntityRefetch
Exceptions
ExceptionCondition
ApplicationExceptionWhen 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