#36 Better support for generated relations

open
5
2010-01-06
2010-01-06
Anonymous
No

Great tool!
But it would be helpful if the generated code reflected the association and composition relations better somehow.
Ideally an composite relation would be set up to automatically delete composing objects when the parent is deleted with partial methods to handle class-specific 'smarts'.
Even generated variables of the right number (atomic=1, collection=many, sequence=many/ordered) would be a good start.

Discussion


  • Anonymous
    2010-01-06

    from Gordon; sorry my Google ID didn't show a name.

     
  • Balazs Tihanyi
    Balazs Tihanyi
    2010-01-07

    Thanks, I will consider your thoughts. But currently in NClass no code is generated from the relations, only from class members.