Jeff-Lewis / codesmith

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

Entity Generated Code Improvement #130

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, thanks for such an awesome work!

I make a small change to Entity.Editable template:

<%foreach (Column column in Type.Columns)
{
    Response.WriteLine("            public const string "+column.Name+"Field =
\""+column.Name+"\";");
        }%>

with this small change you can use more type safety in your code. You write
Product.PriceField instead of "Price".

Goodluck to all codesmith team.

Original issue reported on code.google.com by Kamal.Ra...@gmail.com on 30 Aug 2009 at 6:58

GoogleCodeExporter commented 9 years ago
What framework are you referring to?

Original comment by shannon....@gmail.com on 4 Sep 2009 at 4:03

GoogleCodeExporter commented 9 years ago
Closed due to lack of response.

Original comment by shannon....@gmail.com on 9 Oct 2009 at 6:54