<< Click to Display Table of Contents >> NShape Reference
|
Deserializes the entity's fields from the repository.
void LoadFields(IRepositoryReader reader, int version) |
The implementation calls the reader's read method for each of the fields in the sequence defined by the property definitions (see GetPropertyDefinitions).
The implementation must call the base class implementation with a perhaps modified version number. For example, if the entity has version 180 but is based on version 130 of its base entity class, the method will be called with 180 as the version argument, but it must call its base class with 130.
Name |
Description |
---|---|
reader |
Property reading interface to the repository. |
version |
Format version in which the entity was serialized. |