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
|
I don't see any collection classes - am I missing something? Also, it would be nice to be able to strip of parts of the table name using a configuration setting as I usually follow a pretty strict naming convention for table names: product_schema_tablename. This would keep me from manually having to edit the object names after I drag the tables onto the designer. Also, what about stored procedures? How do you recommend using them with LightSpeed? Finally - configuration - I don't want to keep configuration in the web/app.config, is there a way for me to load the configuration without relying on that? |
|
|
Hi Chris, Make sure you take a look at the chm help file as we have substantial docs and quickstarts in there. [quote user="chriscyvas"]I don't see any collection classes - am I missing something?[/quote] With respect to collection classes, EntityCollection is the primary collection class used when representing one-to-many associations. [quote user="chriscyvas"]Also, it would be nice to be able to strip of parts of the table name using a configuration setting as I usually follow a pretty strict naming convention for table names: product_schema_tablename. This would keep me from manually having to edit the object names after I drag the tables onto the designer.[/quote] The best way to handle this is to define a custom naming strategy by implementing INamingStrategy and setting the NamingStrategy property on your LightSpeedContext. [quote user="chriscyvas"]Also, what about stored procedures? How do you recommend using them with LightSpeed?[/quote] We don't currently support stored procedures. We do however expose access to the underlying ADO.NET objects in order that you can call them manually. [quote user="chriscyvas"]Finally - configuration - I don't want to keep configuration in the web/app.config, is there a way for me to load the configuration without relying on that?[/quote] All configuration elements exist as properties on the LightSpeedContext class. You can set them in code there. Cheers, Andrew.
|
|
|
Hi Andrew, Thanks for the insight. I've been looking at the docs, but these were some questions where the answer was not evident. Now I know where to look. Thank you. Great Product - looks very promising. |
|