I have a Sale object that has a PK 'SaleID'. It is not auto numbered, but is the PK in the designer. (NOT read-only in designer).
The Sale has a child object SaleInfo linked on SaleInfo.SaleID = Sale.SaleID. SaleInfo has a child MoreSaleInfo linked on both SaleID AND SaleInfoID PKs.
I clone the Sale object with a BinarySerializer and get all the children fine.
Now, I need to change the SaleID PK on the top level SaleID then save it back to the DB as a new Sale.
Question:
When I change the Sale.SaleID , will the SaleInfo.SaleID and MoreSaleInfo.SaleID get updated too?