title: Tutorial for using Linq to SQL to have an MVC 3 viewmodel update a database
body: <p>I am new to MVC and to Linq to SQL.  I'm looking for a tutorial somewhere that can illustrate how to update a record in a database.  I've Googled like wild but come up empty handed.</p>
  
  <p>I have a customer table with the fields you'd expect (name, address, etc.).  I've used Linq to SQL to create the domain objects and they mirror the structure of the tables in the db.  I'm using a repository where I map the domain objects to my viewmodels.  The viewmodels contain only the fields I need for a given view.</p>
  
  <p>I know how to populate the viewmodel and pass it to a view via the controller.  What I'm looking for is a good online explanation of how that view should be structured (a form I presume) and how to make it so that once the user makes changes to the record and submits I route the data in the view back and use Linq to SQL to persist it to the database.</p>
  
  <p>Has anyone run across a good tutorial?</p>
  
  <p>Thanks</p>