SQL Server set identity(-1 ,1)

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
harbran
Posts: 4
Joined: Wed 02 Sep 2015 09:12

SQL Server set identity(-1 ,1)

Post by harbran » Wed 26 Aug 2020 12:23

On definition of a new model/new table: is there a way to set identity to (-1, 1) for an Int32 or Int64 column in SQL Sever? Can this be set as a default for all tables in this model?
Using EntityDeveloper 6.8.1049 and SQL Server 2019.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: SQL Server set identity(-1 ,1)

Post by Shalex » Wed 02 Sep 2020 07:57

We will investigate the case and notify you about the result.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: SQL Server set identity(-1 ,1)

Post by Shalex » Wed 02 Sep 2020 08:21

You are working with EF6, aren't you?

Post Reply