Hello Telerik Developers. I am new to Progress Telerik but I am catching up faster than I ever thought.
I was looking to add a new item into my database. While adding I get the error above.
The Primarykey in this case is set to autogenerate in the database and I have it specified in its Context Class:
entity.Property(e => e.Id).ValueGeneratedOnAdd().HasColumnName("id");
Is there any option to adding without setting the IDENTITY_INSERT TABLE ON?
I am looking to have the Id incremented on Add without having to enter it on my own. I was looking at a solution here, but that is not what I am looking for.
Any help is appreciated.
Thank you.