Mapping umbraco node to strongtyped object

Apr 17, 2012 at 11:22 PM

Hi,

 

I am working with Umbraco 4.7.1 and I am trying to map the content-nodes to some strongly typed objects. The thing is that all properties on an Umbraco node (the cms document) are retrieved like this:

node.GetProperty("propertyName").Value;

And my strongly typed objects are in the format of MyObject.PropertyName. So how do I map the property on the node which is retrieved using a method and a string beginning with a lowercase character into a property on MyObject where the property begins with an uppercase character ?

thanks

Thomas

Apr 18, 2012 at 7:13 AM

Moved the question to Stackoverflow: http://stackoverflow.com/questions/10204535/mapping-umbraco-node-to-strongtyped-object