title: MvcScaffolding: Adding Default Datetime Field & Current User Field (from Forms Authentication)
body: <p>I'm working on a project that uses MvcScaffolding to build a quick CRUD interface (many thanks to Steven Sanderson), but I'm having trouble adding two 'code-first' fields (I normally work in SQL Server and know very little about C#).</p>
  
  <p>I'd like to add a column for the SQL equivalent of <code>DEFAULT (getdate())</code>, and a varchar field for representing the name of the user logged in on via Forms Authentication on the project (I believe this is storing <code>HttpContext.Current.User.Identity.Name</code>, but I'm not certain).</p>
  
  <p>The end goal is to allow users to log in; create a new record &amp; save; and then the list/index page only returns records where their username is stored in the <code>CreatedBy</code> field (in SQL, something like <code>WHERE CreatedBy = &lt;HttpContext.Current.User.Identity.Name&gt;</code>).  </p>
  
  <p>Any suggestions appreciated!</p>