NShape Reference
IEntity.SaveFields Method

<< Click to Display Table of Contents >>

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

NShape Reference
IEntity.SaveFields Method

Previous pageReturn to chapter overviewNext page

Serializes the entity's fields to the repository.

Syntax

void SaveFields(IRepositoryWriter writer, int version)

Parameters

Name

Description

writer

Property writing interface to the repository.

version

Format version in which the entity should be serialized.

Exceptions

Exception

Condition

RepositoryException

Writing data to the data source did not succeed. An inner exception indicates the data source specific reason. For instance, when writing to an XML file this exception can occur when the disk is full.

InvalidOperationException

The fields written do not match the property definitions from GetPropertyDefinitions.