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
|
Hi there, I installed LS 4.0 to see what's new. What I didn't find are the DTO's. I expected they where generated along with the model. Is there somewhere a switch to get them generated? The documentation looks to be the same as 3.11 - right? Since Silverlight uses a lot the Data Annotations, I expected to see some Attributes:
along with the option to localize the error messages and the Display properties. Are we able to do server side pageing and sorting while querying for some entities? Is there somewhere an example which shows the new features? - Sörnt |
|
|
DTO generation (for now) is a breaking change as we have removed them from the default templates. The reason for this is to gauge feedback on how they are being used, as opposed to just using your own DTOs via the .Import method on UnitOfWork. If you do want to revert this however (e.g. if you are upgrading from something which relies on these being generated), you can either copy across the 3.11 templates or patch Base.vm to re-include DataContracts.vm and grab that file from a 3.11 install. re Whats new - have a read through the post we put up late last year: http://www.mindscapehq.com/blog/index.php/2010/12/09/distributed-enhancements-coming-in-lightspeed-4/ which covers off an overview the new features. We are still working on updated samples and documentation, so until we have those furthor along there are no specific examples but please feel free to fire over any questions in the meantime :)
Jeremy |
|