NShape Reference
IStoreCache Interface

<< Click to Display Table of Contents >>

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

NShape Reference
IStoreCache Interface

Previous pageReturn to chapter overviewNext page

Defines an interface between the cache and the store.

Syntax

public interface IStoreCache

Description

Public Properties

Name

Description

DeletedShapeConnections

Provides a collection of deleted shape connections.

EntityTypes

Provides a collection of entity types.

LoadedDesigns

Provides a collection of loaded designs directly accessible via IEntity.Id.

LoadedDiagrams

Provides a collection of loaded diagrams directly accessible via IEntity.Id.

LoadedModelMappings

Provides a collection of loaded model mappings directly accessible via IEntity.Id.

LoadedModelObjects

Provides a collection of loaded ModelObjects directly accessible via IEntity.Id.

LoadedModels

Provides a collection of loaded models directly accessible via IEntity.Id.

LoadedProjects

Provides a collection of loaded projects directly accessible via IEntity.Id.

LoadedShapes

Provides a collection of loaded shapes directly accessible via IEntity.Id.

LoadedStyles

Provides a collection of loaded styles directly accessible via IEntity.Id.

LoadedTemplates

Provides a collection of loaded templates directly accessible via IEntity.Id.

NewDesigns

Provides a collection of new designs.

NewDiagrams

Provides a collection of new diagrams.

NewModelMappings

Provides a collection of new model mappings.

NewModelObjects

Provides a collection of new model objects.

NewModels

Provides a collection of new models.

NewProjects

Provides a collection of new project.

NewShapeConnections

Provides a collection of new shape connections.

NewShapes

Provides a collection of new shapes.

NewStyles

Provides a collection of new styles.

NewTemplates

Provides a collection of new templates.

Project

Provides the current project.

ProjectDesign

Provides the current project's design.

ProjectId

Provides the current project's IEntity.Id.

ProjectName

Provides the current project's name.

RepositoryBaseVersion

Indicates the repository version of the core libraries.

Public Methods

Name

Description

CalculateElementName

Calculates an suitable element name for the given entity name.

FindEntityTypeByElementName

Finds an entity type with the given element name.

FindEntityTypeByName

Finds an entity type with the given entity name.

GetDesign

Returns the design with the given IEntity.Id.

GetDiagram

Returns the diagram with the given IEntity.Id.

GetModel

Returns the model with the given IEntity.Id.

GetModelObject

Returns the model object with the given IEntity.Id.

GetProjectStyle

Returns the style of the project's current design with the given IEntity.Id.

GetShape

Returns the shape with the given IEntity.Id.

GetTemplate

Returns the template with the given IEntity.Id.

SetProjectOwnerId

Sets the project's owner id.

SetRepositoryBaseVersion

Sets the repository version of the core libraries from a loading project.

Requirements

Namespace: Dataweb.NShape.Advanced

Assembly: Dataweb.NShape