What I want to do is to create a primary key that has auto decrement:
Id BIGINT PRIMARY KEY IDENTITY(-1,-1)
I searched for it and I could only find the following DataAnnotation for setting the Identity:
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
But this not fullfill my need of setting start and increment values. And if I want to increment by 1, and starting from 1 actually the following that I always use works for me:
[Key]
public long Id { get; set; }