This project has moved and is read-only. 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.


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


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 9:09 AM by Erno_de_Weerd, version 3


No comments yet.