Maxim Cuzmenco
Maxim Cuzmenco
I'm using very similar code in the project. When our clients execute API sometimes they are trying to create the same data concurrently which we prevent having the proper constraints...
We are using Postgres, but I think the behavior would be the same for MSSQLServer. The error on commit: ``` Npgsql.PostgresException (0x80004005): 40P01: deadlock detected\n at void Npgsql.NpgsqlConnector+c__DisplayClass160_0+d.MoveNext()\n at void...
Hi @sughosneo I'm pretty sure it's not any of the above. As I mentioned before we're using Postgres. It has a feature of "deferred constaints". (https://www.postgresql.org/docs/9.1/sql-set-constraints.html) As per documentation: >...