Another question, might be a bit silly but my brain is fried today,
Say I have 2 tables A and B, with a one to many between them:

A
--
Id
Name

B
---
Id
AId
Name


If I do something like so:

A a  = new A();
a.Id = 1;
a.Name = "name";
a.BItems = null;

// THEN UPDATE a

Even though the collection is set to null, the children still remain,
am I missing something here? If I were to load A then call
a.BItems.Clear() and update they are removed as I expect.


Cheers


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to