NPersistence Reference Guide
Overload List
Name | Description |
---|---|
Refresh(Object) | Refresh the state of the instance from the database,
overwriting changes made to the entity, if any. |
Refresh(Object, LockModeType) | Refresh the state of the instance from the database,
overwriting changes made to the entity, if any, and
lock it with respect to given lock mode type.
If the lock mode type is pessimistic and the entity instance
is found but cannot be locked:
|
Refresh(Object, Dictionary<(Of <<'(String, Object>)>>)) | Refresh the state of the instance from the database, using
the specified properties, and overwriting changes made to
the entity, if any.
If a vendor-specific property or hint is not recognized,
it is silently ignored. |
Refresh(Object, LockModeType, Dictionary<(Of <<'(String, Object>)>>)) | Refresh the state of the instance from the database,
overwriting changes made to the entity, if any, and
lock it with respect to given lock mode type and with
specified properties.
If the lock mode type is pessimistic and the entity instance
is found but cannot be locked:
|