Ed Leafe wrote: > On May 19, 2009, at 5:46 PM, Paul McNett wrote: >> 2) Ditching the dConstants thing, and just defining the possible >> values as "CASCADE", >> "IGNORE", or "RESTRICT"? > > If you do that, lose the all-caps, since that was used to designate a > constant, and make any comparisons case-insensitive.
Yep. > How would you handle existing code that may reference the constants? What user code would reference the constants, do you think? User code could reference the *ChildLogic attributes of the bizobj instance, which we could handle gracefully with a deprecation warning. The other thing that could be good is allowing for different logic for different child tables, perhaps by adding *ParentLogic props that override whatever the parent has as *ChildLogic. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
