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?