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
|
We have a bunch of custom classes that we need to get into the LightSpeed Designer. What options do I have as far as getting them into the LightSpeed Designer? I don't have a database built yet and wanted to move the classes to the designer and allow it to create the tables for me. Is this remotely possible or will I need to create the duplicate the Entities in the designer manually? If I can't mvoe the classes into LightSpeed directly, do you know of any tools out there that will take a class model and generate tables scripts for me? I've started to write my own, just in case your answer is no. :) Thanks, Brad |
|
|
I've started prototyping a tool (in response to the discussion at http://www.mindscape.co.nz/forums/Thread.aspx?ThreadID=1819) that would reflect over an assembly and output any LightSpeed entities it finds as a .lsmodel file. This is mostly working for basic features but there are a lot of potential edge cases -- not necessarily a big deal if this is a once-only move that can be fixed up by hand, but problematic if you want to maintain the classes as handwritten and use the designer only as a means to update the database. I'll see if I can polish this up over the next day or two and put an initial version out as an alpha/prototype for feedback. |
|
|
Hello Brad, I'm afraid this has taken a bit longer than planned but the latest nightly now has an experimental command-line tool which you can run over an assembly and it will generate a .lsmodel file. It is currently focused on doing just enough to allow updating of a database schema so it may be missing some things that you need for your models, e.g. CRUD stored procedure attributes. However if you are still interested and have time to give it a try and provide feedback then that would be very welcome! See http://www.mindscape.co.nz/forums/Post.aspx?ThreadID=1819&PostID=4718 for info, instructions and quality warnings! |
|