title: ViewModel has no properties set in Model using HttpPost Create method
body: <p>I have a simple MVC3 app with an EF4 Model</p>
  
  <pre><code>Log
  .Name
  .CreatedDate
  .LogTypeId
  
  LogTypes
  .Id
  .Description
  </code></pre>
  
  <p>and a ViewModel</p>
  
  <pre><code>LogViewModel
  Log MyLog
  List&lt;SelectListItem&gt; Options
  
  LogViewModel(){
    Log = new Log();
  }
  </code></pre>
  
  <p>This displays in my view correctly and I can edit/update the values, display the drop down list and set the name to "MyTestValue".</p>
  
  <p>However, in my controller's HttpPost Create method the properties for logVm.Log are not set?</p>
  
  <pre><code>[HttpPost]
  public ActionResult Create(LogViewModel logVm){
    logVm.Log.Name == "MyTestvalue"; //false - in fact its null
  }
  </code></pre>
  
  <p>What am I doing wrong?</p>