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 Guys, In the sample C:\Program Files\Mindscape\LightSpeed\Samples\Store\Web\Model\, did you break down the model.cs into separate class files? IMHO its more natural for dev's to code with classes in separate files, the Model.cs can get to big. Is there a way to split classes from the generated model via a setting rather than manually? Do you guys have a script or something you can share with me? Thanks,
|
|
|
The Store model was written by hand without using the designer (it dates back to LightSpeed 1, before the designer existed). We don't have any script or support for breaking out classes from the generated code. Regardless of the use of the designer, the code that developers write can of course be split across multiple files in the usual "one (partial) class = one file" manner. And the file structure of the code that is generated and managed by the designer shouldn't usually be an issue -- if we split it into multiple files that would just be more files we had to tell you not to touch! |
|
|
Thanks Ivan for the history and clarification on that sample! It was wondering why the files had been split...
|
|