Search the web
Sign In
New User? Sign Up
SimpleORM
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
SFieldReference/overlapping keys   Message List  
Reply | Forward Message #1548 of 1851 |
Frank,

Please check carefully what I have done to
SFieldReference.innerRawSetFieldValue and SFieldScalar.innerRawSetFieldValue.

I think it is now correct, but it is not properly tested.

(The idea of passing down the old value to validate field was a bad
one, and I took it out. The problem is that the old value is not
available at validateRecord time. But do we really want to validate
fields at record time, maybe the should only and always be immediate?)

I would also like to move to the .Net convention of prefixing all
event methods that are designed to be overridden by the user with
"on", eg. onValidateRecord rather than validateRecord. We should
never place any code in an "on" method in case the user forgets to
call super(). That might be a good next task.

I am going to bed.

Where do you live? I vaguely recall France.

We should also start posting this to the SimpleOrm list.

Regards,

Anthony


Dr Anthony Berglas, anthony@... Mobile: +61 4 4838 8874
Just because it is possible to push twigs along the ground with ones nose
does not necessarily mean that is the best way to collect firewood.




Thu Jun 26, 2008 11:40 am

aberglas
Offline Offline
Send Email Send Email

Forward
Message #1548 of 1851 |
Expand Messages Author Sort by Date

Frank, Please check carefully what I have done to SFieldReference.innerRawSetFieldValue and SFieldScalar.innerRawSetFieldValue. I think it is now correct, but...
Anthony Berglas
aberglas
Offline Send Email
Jun 26, 2008
11:40 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help