2
Ola, I am creating an application using Fluent API + Entityframework. But in my domain classes when determining that a property is PK it automatically defines it as serial, I would not like to get this behavior because it will automatically create a SEQUENCE for each PK field of my tables. How do I remove this validation and define that when the field is a primary key I do not want it to be serial but only integer?
Thank you
Although I answered the question for you (if it’s the right one, mark it as correct), I would like to know what your scenario is, or concern about not using IDENTITY ("serial") for your Keys. This is usually indicated.
– Loudenvier