AnantLabs / codesmith

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

Enhancement: Read-only classes named with "info" / More control over generated class names #213

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Executing any Readonly*.cst
Note: I am using personal version and Visual Studio Express.

What is the expected output? What do you see instead?
In the end, I'd like my read-only objects to be named with "Info" at the
end. For example, AircraftInfo and AircraftInfoList to be the Readonly
object and a list of readonly objects.

I'd like to be able to execute ReadOnlyRoot.cst and EditableRoot.cst for
the same table and have different class files generated to disk.

Currently, Readonly objects have the same class name as the editable version.

What version of the product are you using?
Note: I am using CodeSmith 5.1 personal version, Visual Studio Express, and
templates CSLA-v1.1.1.981. Specifically, I am using the Visual Basic templates.

Please provide any additional information below.
It would be super if I could have some control over the naming of the
classes. Specifically, I'd like to see "Info", but I would also like to
have my collections to be named with "List" instead of the plural of the
object.

Original issue reported on code.google.com by madcoo...@gmail.com on 4 Dec 2009 at 9:22

GoogleCodeExporter commented 9 years ago

Original comment by bniemyjski on 5 Dec 2009 at 2:18

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:50

GoogleCodeExporter commented 9 years ago

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