Problem with saving

Topics: Developer Forum
Oct 17, 2007 at 4:11 PM
Hello,
in your Debug Project, the Update One section gives as output:

===========Update One==========
>>Before:
Jerry=> IBM
>>After:
Neo=> IBM
>>Delete:
(NULL Person)

Due to the p.PC.Name = "Matrix"; in the Code I would expect Matrix instead of IBM
Coordinator
Oct 18, 2007 at 1:50 AM
Thanks to mention that.

I checked it and found it's because of the defination of "PersonalComputer.Name":

public string Name;
It should be:

public abstract string Name { get; set; }
Thanks.
Coordinator
Oct 18, 2007 at 3:35 AM
This problem was found in version 0.31. I thought it already fixed.
But it seems I missed it int version 0.32 too.
Oct 18, 2007 at 5:58 AM
Thank you. The abstract fixed it.

Do you see this as a bug you will fix or as working as intended?
Coordinator
Oct 18, 2007 at 12:50 PM
I don't think it's a bug.
The reason of it is Partial update.
There was a plan to throw an exception when find such definenation.
But finally I give it up.