AnantLabs / codesmith

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

CSLA Ignore Expressions and Database Columns #355

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a manual CSLA template.
2. Add regular expressions to exclude database table fields.
3. Run code generation

What is the expected output? What do you see instead?
Expect that the Ignore Expressions also include database fields, but the
current output doesn't apply the regex to fields, so inappropriate fields
are included in the output.

What version of the product are you using?
v2.0.1.1586, CSLA Framework: v3.8.2.

Please provide any additional information below.

Original issue reported on code.google.com by JenasysD...@gmail.com on 4 May 2010 at 10:36

GoogleCodeExporter commented 9 years ago
Hello,

Here is a patch, could you please check it out. If you find any bugs please let 
me 
know. You will need to exclude the database owner (dbo) in your regex's. 
TableName.ColumnName

Thanks
-Blake Niemyjski

Original comment by bniemyjski on 4 May 2010 at 10:49

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, but I'm not sure how to apply the patch via SVN? Can you point me in the
right direction?

Original comment by JenasysD...@gmail.com on 5 May 2010 at 5:57

GoogleCodeExporter commented 9 years ago
Hello,

Please follow this documentation: 
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-patch.html

Thanks
-Blake Niemyjski

Original comment by bniemyjski on 5 May 2010 at 10:23

GoogleCodeExporter commented 9 years ago
Hello,

This has been committed but not tested (enough) in the latest nightly build.

Thanks
-Blake Niemyjski

Original comment by bniemyjski on 6 May 2010 at 12:45

GoogleCodeExporter commented 9 years ago

Original comment by bniemyjski on 21 Jun 2010 at 8:08

GoogleCodeExporter commented 9 years ago
Sent a private mail with SQL DB, VS2008 solution and example of code generation 
that covers issue 319, issue 355, issue 380 and issue 450.  They all a based 
are based on "Naming" for the classes and properties that are generated by 
these templates. They are my highest concern for "compile" ready code 
generation, base on r1788.

Original comment by JenasysD...@gmail.com on 9 Jul 2010 at 1:44

GoogleCodeExporter commented 9 years ago

Original comment by bniemyjski on 9 Jul 2010 at 11:22

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r1793.

Fixed Issue 355: CSLA Ignore Expressions and Database Columns

Original comment by bniemyjski on 12 Jul 2010 at 10:08

GoogleCodeExporter commented 9 years ago

Original comment by bniemyjski on 12 Jul 2010 at 10:08