If you are saying what I think your are saying then what you are talking about is not cascading. A simple outline of your classes would be helpful. If you have an instance of A
which is associated with many instances of B
, then all instance of B
which reference the instance of A
in question are referencing the exact same object. I had the same problem and asked a similar question here. Basically your options are:
1.) Clone the instance of A
whenever it changes or whenever you deem appropriate.
2.) Create new fields in your B
class which will hold the values of A
you are concerned with.
Both approaches have their advantages and disadvantages, but for me option 2 proved to be the better choice.