title: Setting "Default value or binding" Entity Framework Code First
body: <p>I need to set the sql server columns "default value or binding" OnModelCreating (or as an property attribute) in EF code first. The reason is that I want to use sql 2012 sequence instead of autogenerated identity.</p>
  
  <p>To use a sequence in sql 2012 i need to achive this:</p>
  
  <p><img src="https://i.stack.imgur.com/7vcYE.png" alt="SQL 2012 sequence"></p>
  
  <p>How can this be done with entity framework 4.3 Code first?</p>