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
Post a Comment