Persistate API documentation
Refresh Method
NamespacesPersistatePersistentRefresh()()()()

[This is preliminary documentation and is subject to change.]

Gets the current value of this object from persistent storage.
Declaration Syntax
C#
public void Refresh()
Remarks

This may also enlist this object in the current transaction, which means that the object may be locked in the database if the current isolation level is serializable. Note that this will overwrite any modifications which have been made to this object in memory since it was last retrieved or refreshed. It sets its modified state to false.

This will also raise the Modified event. This might at first seem inappropriate, but is required to keep any user interface up to date with the current in-memory value of the object.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)