Persistate API documentation
Refresh Method

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

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

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: (