title: MVC 3 POST data and the Id field
body: <p>I have a strongly typed razor view for a model in my MVC 3 project. Basically its for editing the model.</p>
  
  <p>The model contains an Id field for the database key and some other string fields (Its a viewModel and all but thats not the point of the question).</p>
  
  <p>In the view I just have a form and a submit button and nothing else. When the View is posted to the controller the model in the controller has all fields empty EXCEPT for the Id field which seems to have been auto-magically filled up. </p>
  
  <p>How and where does the Id field gets populated in the model without there being a corresponding 'input'  element for it in the view.</p>
  
  <p>This is probably a dumb question but I would appreciate even just a link to what I should read up on. Thanks.</p>