NShape Reference
Store.LoadTemplateModelObjects Method

<< Click to Display Table of Contents >>

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

NShape Reference
Store.LoadTemplateModelObjects Method

Previous pageReturn to chapter overviewNext page

Loads all model objects of the given template into the given store cache.

Syntax

public abstract void LoadTemplateModelObjects(IStoreCache cache, object templateId)

Description

Loads all model objects of the given template into the given store cache.

If the template's model objects have already been loaded, this method does nothing.

Parameters

Name

Description

cache

Store cache associated with this store.

templateId

Id of the template.

Exceptions

Name

Description

ArgumentNullException

The given IStoreCache is null.

ArgumentNullException

The given templateId is null.