NShape Reference
Store.CheckTemplateInUse Method

<< Click to Display Table of Contents >>

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

NShape Reference
Store.CheckTemplateInUse Method

Previous pageReturn to chapter overviewNext page

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

Syntax

public abstract bool CheckTemplateInUse(IStoreCache cache, object templateId)

Description

Checks if the template 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.

templateId

The id of the template to be checked.

Return Value

Returns true if the template is still in use.