<< Click to Display Table of Contents >> NShape Reference
|
Serializes the entity's fields to the repository.
void SaveFields(IRepositoryWriter writer, int version) |
Name |
Description |
---|---|
writer |
Property writing interface to the repository. |
version |
Format version in which the entity should be serialized. |
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. |