This project has moved and is read-only. For the latest updates, please go here.

ModelMapping Element

The ModelMapping element contains the informationon how to map this property between the ViewModel and Model class.

Format

<ModelMapping propertyPath="..." isCustom="..."/>

Attributes

Name Type Required Description
propertyPath string no The property path that is used when mapping an instance of the Model class to the instance of the ViewModel class. This can be just a property name but also a path.
isCustom boolean no When true a partial method (MapPropertyNameToModel) is generated that is called when mapping the property from ViewModel to Model and a partial method (MapPropertyNameFromModel) is generated that is called when mapping the property from Model to ViewModel

Last edited Jun 12, 2010 at 11:33 AM by Erno_de_Weerd, version 4

Comments

No comments yet.