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 -

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

javascript - firefox memory leak -