NShape Reference
Store.CheckModelObjectInUse Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.Advanced > Store Class >

NShape Reference
Store.CheckModelObjectInUse Method

Previous pageReturn to chapter overviewNext page

Checks if the model object associated with the given id is still in use.

Syntax

public abstract bool CheckModelObjectInUse(IStoreCache cache, object modelObjectId)

Description

Checks if the model object associated with the given id is referenced by objects that are not loaded at the moment.

Applies only to stores that support partial loading, such as the AdoNetStore.

Parameters

Name

Description

cache

The store cache associated with this store.

modelObjectId

The id of the model object to be checked.

Return Value

Returns true if the model object is still in use.