c# - What is the easiest way to create sequence with entity framework code first approach? -


i want use sequence in ms sql-server generate auto increment number me without table, , application using entity framework 4.4 + code first + sql-server 2008. easiest way create , retrieve value?

just add [key] on top of property. should int way. need add dataannotations reference project.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -