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.3.0.0 (5.3.0)
Syntax public abstract bool Refetch()
Public MustOverride Function Refetch As Boolean
Return Value
Type:
Booleantrue if Refetch succeeded, false otherwise
Implements
IEntityRefetchExceptions Exception | Condition |
---|
ApplicationException | When 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