Considering the following view excerpt :
<%= Html.TextBox("Something", Model.Property.SubProperty.Value) %>
I can handle the case when Property and SubProperty are null with :
<% if( Model.Property != null || Model.Property.SubProperty != null ) { %>
<%= Html.TextBox("Something", Model.Property.SubProperty.Value) %>
<% } %>
But I don't find this very clean. Anyone got an idea ?
I'm thinking about automapper. Good idea ?