You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When inserting entities with EF Core, for auto-generated columns e.g. Identity, EF core is using value provided if the value is non-default (e.g. '2' instead of '0' for an int PK)
BulkInsert disregards the provided values and hence the insert behaves differently, and as a result referential integrity is broken
Is there any option to ask BulkInsert to behave the same as EF Core insert in regards to dealing with non-default auto generated values?
The text was updated successfully, but these errors were encountered:
When inserting entities with EF Core, for auto-generated columns e.g. Identity, EF core is using value provided if the value is non-default (e.g. '2' instead of '0' for an int PK)
BulkInsert disregards the provided values and hence the insert behaves differently, and as a result referential integrity is broken
Is there any option to ask BulkInsert to behave the same as EF Core insert in regards to dealing with non-default auto generated values?
The text was updated successfully, but these errors were encountered: