[This is preliminary documentation and is subject to change.]
The IObjectStore type exposes the following members.Methods
Name | Description | |
---|---|---|
![]() | CheckIn(Guid, Int32) |
Puts an object into store identified by the "key"
|
![]() | CheckIn(Guid, Object, Int32) |
Puts an object reference "value" into store identified by the "key"
|
![]() | CheckInUnderNewKey |
Puts an object reference "value" into store identified by the "oldKey" under the "newKey".
If oldKey was not checked in, then checks-in under new key as normally would
|
![]() | CheckOut |
Retrieves an object reference from the store identified by the "key" or returns null if such object does not exist.
Object is not going to be persisted until it is checked back in the store.
|
![]() | Delete |
Deletes object identified by key. Returns true when object was found and marked for deletion
|
![]() | ![]() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ![]() |
![]() | Fetch |
Retrieves an object reference from the store identified by the "key" or returns null if such object does not exist.
Object is not going to be persisted as this method provides logical read-only access. If touch=true then object timestamp is updated
|
![]() | LocalizedTimeToUniversalTime |
Converts localized time to UTC time as of TimeLocation property
(Inherited from ILocalizedTimeProvider.) |
![]() | UndoCheckout |
Reverts object state to Normal after the call to Checkout. This way the changes (if any) are not going to be persisted.
Returns true if object was found and checkout canceled. Keep in mind: this method CAN NOT revert inner object state
to its original state if it was changed, it only unmarks object as changed.
This method is reentrant just like the Checkout is
|
![]() | UniversalTimeToLocalizedTime |
Converts universal time to local time as of TimeLocation property
(Inherited from ILocalizedTimeProvider.) |
Properties
Name | Description | |
---|---|---|
![]() | ComponentCommonName |
Returns the common name used to identify the component, for example "Glue" for various IGlue implementations.
This name is searched-by some management tools that allow to find component by this name that does not change between
application restarts like ComponentSID does. Subordinate (non-root) components return null
(Inherited from IApplicationComponent.) |
![]() | ComponentDirector |
Returns a reference to an object that this app component services/operates under, or null
(Inherited from IApplicationComponent.) |
![]() | ComponentSID |
Returns process/instance unique app component system id
(Inherited from IApplicationComponent.) |
![]() | LocalizedTime |
Returns current time localized per TimeLocation
(Inherited from ILocalizedTimeProvider.) |
![]() | ObjectLifeSpanMS |
Specifies how long objects live without being touched before becoming evicted from the list
|
![]() | TimeLocation |
Returns the location
(Inherited from ILocalizedTimeProvider.) |
See Also