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.
To use a sequence in sql 2012 i need to achive this:

How can this be done with entity framework 4.3 Code first?
I think this isn’t supported yet for entity framework CodeFirst so default value can be set only with the help of XML mapping (EDMX).
You can vote here for new features:
http://data.uservoice.com/forums/72025-ado-net-entity-framework-ef-feature-suggestions/suggestions/2541076-allow-using-sql-server-2012-sequence-for-generatin
As much as i know FluentAPI enables you to use
DatabaseGeneratedOptionhttp://msdn.microsoft.com/en-us/library/system.componentmodel.dataannotations.databasegeneratedoption(v=vs.103).aspx