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
That is, if you try to save a customer via generic repository with a List<Order> and these orders came from scoped IOrderRepository (that is supposed to use the same ApplicationContext) then generic repository will assume these orders are new and will try to insert them into database which is incorrect.
The text was updated successfully, but these errors were encountered:
That is, if you try to save a customer via generic repository with a
List<Order>
and these orders came from scopedIOrderRepository
(that is supposed to use the sameApplicationContext
) then generic repository will assume these orders are new and will try to insert them into database which is incorrect.The text was updated successfully, but these errors were encountered: