This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Is it possible to alter the access modifier for the automatically generated fields like CreatedOn, UpdatedOn, etc? I would like to create a wrapper property on the entity which gives the CreatedOn datetime object some context - e.g. converts it from UTC to another timezone. And at the same time, prevent anyone using the public CreatedOn getter. Is this possible somehow? Thanks, Phil |
|
|
Yes you can change this by editing the code generation templates, I would suggest if you do this you use per project templates so that these can be source controlled with the rest of your solution. This blog post http://www.mindscapehq.com/blog/index.php/2009/09/16/customising-lightspeed-entity-templates/ details more about setting up per project templates :)
|
|