Sculpture Community  Sculpture Discu...  Feature Request...  CRUD Value Objects, Entity Value Objects
Previous Previous
 
Next Next
New Post 1/20/2010 4:26 PM
Informative
  ADrenberg
3 posts


CRUD Value Objects, Entity Value Objects 

When I generate a value object directly from an Entity, the validation rules of the entity are not copied into the VO. Is there any way this could be added to Sculpture?

When I generate Service Layer CRUD operations, the Value Objects have the validation rules, but they are not interchangeable with the VO I generated from the entity.

I would like to see if I can work through a single service for each entity (Client Service, Project Service), and handle both Crud and custom service methods using the same value objects. Perhaps a generated CRUD Value Object can be selected as the return type of a Service I add to the designer.

 
New Post 1/21/2010 3:33 PM
  ANegm
253 posts


Re: CRUD Value Objects, Entity Value Objects 

ADrenberg,

There is a workaround to use the CRUD generated value object in your model by add it as External Type.

So you can use it in the modeled services.

 

All other ideas will be considered in the future releases.

Best Regards,


Ahmed Negm - CTO - Sculpture Project
 
New Post 1/30/2010 5:47 PM
  ADrenberg
3 posts


Re: CRUD Value Objects, Entity Value Objects 

Thanks for your reply, and for pointing out the workaround.

 
Previous Previous
 
Next Next
  Sculpture Community  Sculpture Discu...  Feature Request...  CRUD Value Objects, Entity Value Objects
Users Minimize
 
Membership Membership:
Latest New User Latest: Fosna
New Today New Today: 3
New Yesterday New Yesterday: 7
User Count Overall: 2772

People Online People Online:
Visitors Visitors: 0
Members Members: 0
Total Total: 0

Online Now Online Now: