I have as problem with NH. When I remove a product from FirstExample.Store (Id==1) NH is doing this:
DELETE FROM StoreProduct WHERE Store_id = 1 INSERT INTO StoreProduct (Store_id, Product_id) VALUES (1 ,2) INSERT INTO StoreProduct (Store_id, Product_id) VALUES (1 ,3) INSERT INTO StoreProduct (Store_id, Product_id) VALUES (1 ,4) INSERT INTO StoreProduct (Store_id, Product_id) VALUES (1 ,5) Why is NH deleting everything and then inserting it again. If I am having a store with 1000 products and remove one then NH will delete 1000 and insert 999 Help PLEASE. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
