views:

26

answers:

0

Hey all,

I have a Website entity that has a foreign key to a Client entity. If I first set the Website.ClientID to something and save it, then change the Website.ClientID (or the Website.ClientReference) to null, when I do SaveChanges it updates every other property except ClientID, so I can't "clear out" the Client from the Website. How do I get it to remove the relationship between that Website and Client??

Thanks, Justin