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.6.0.0 (5.6.19.0117)
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