<< Click to Display Table of Contents >> NShape Reference
|
Serializes the entity's inner objects into the repository.
void SaveInnerObjects(string propertyName, IRepositoryWriter writer, int version) |
Inner objects are sequences of more complex data than simple types.
For hints on versioning see the SaveFields method.
Name |
Description |
---|---|
propertyName |
Name of inner objects property to write. |
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. |