AnantLabs / codesmith

Automatically exported from code.google.com/p/codesmith
1 stars 0 forks source link

Utilties\ADOHelper architecture suggestion. #227

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run CSLA Business\Entities.cst with StoredProcedures option.
2. Utilities\ADHelper.vb gets generated
3. The code only gets generated once, so changes to parameter prefixes 
don't get changed if the user changes values in Entity.cst.

What is the expected output? What do you see instead?
A) Changed to generating a partial class with CONST values for Prefix etc.
B) Public Shared ReadOnly Property ConnectionString() As String should be 
in the user editable section as this will definitely be changed in most 
implementations.
Partial class would allow the user to extend the ADOHelper with their own 
ADO code libraries, but also ensure the extensions to the Codesmith 
templates can be incorporated in future template upgrades.

What version of the product are you using?

Please provide any additional information below.

Original issue reported on code.google.com by JenasysD...@gmail.com on 13 Jan 2010 at 8:51

GoogleCodeExporter commented 9 years ago

Original comment by bniemyjski on 13 Jan 2010 at 10:07

GoogleCodeExporter commented 9 years ago

Original comment by bniemyjski on 15 Jan 2010 at 10:48

GoogleCodeExporter commented 9 years ago
Hello,

This has been fixed in the latest nightly build.

Thanks
-Blake Niemyjski

Original comment by bniemyjski on 23 Feb 2010 at 12:51

GoogleCodeExporter commented 9 years ago

Original comment by bniemyjski on 23 Feb 2010 at 11:31