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

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -