This project has moved. For the latest updates, please go here.

Property Element

The Property element contains the information that is used to generate a property of single ViewModel class and specify its mapping to the ModelClass.

Format

<Property name="..." type="..." isViewModel="...">
<ModelMapping ... />
</Property>

Attributes

Name Type Required Description
name string yes The name of the property.
type string yes The type (including the namespace) of the property
isViewModel boolean no When set to true the generated mapping code that maps the Model class to the ViewModel class will assume the availability of the static FromModel method on the type of this property.

Child Elements

Name Multiplicity Description
ModelMapping 0..1 Information on how to map this property between the ViewModel and Model class.

Last edited Jun 8, 2010 at 8:09 AM by Erno_de_Weerd, version 3

Comments

No comments yet.