NShape Reference
Version Property

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape > IRepository Interface >

NShape Reference
Version Property

Previous pageReturn to chapter overviewNext page

Specifies the repository version.

Syntax

public int Version { get; set; }

Description

The repository version is the storage version of the core libraries, which contain ShapeGroup, GenericModelObject, Design and Styles, templates etc. When a project is opened, this property indicates the version of the storage format. When an application sets this property the next call to Create or SaveChanges will produce the requested storage format if possible. How the format of an existing repository can be changed depends on the repository. For example, the CachedRepository with an AdoNetStore cannot modify the storage format because it is defined by the database schema.