<< Click to Display Table of Contents >> NShape Reference
|
Retrieves the persistable properties of an entity type.
static IEnumerable<EntityPropertyDefinition> GetPropertyDefinitions(int version) |
This method is not a formal part of the IEntity interface, because interfaces cannot include static methods. However, each type implementing IEntity also has to provide the property definitions and preferably uses this signature for the purpose. The enumerator lists the properties of the entity in the sequence they are loaded or saved. A property can either be a field, which is a simple data variable or a so-called inner object, which is a collection of more complex types having property definitions by themselves.
Name |
Description |
---|---|
version |
Format version for which the definitions shall be retrieved. |
Sequence of entity property definitions as either EntityFieldDefinition or EntityInnerObjectsDefinition.
None