AnantLabs / codesmith

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

EnumList does not match full table name expressions #619

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Both the IncludeList and IgnoreList match full table name expressions to 
precisely identify table names to include or ignore as mapped entities. For 
example:

   ^dbo.Customer$
   ^dbo.Order$

But a full table name expression in the EnumList does NOT result in an enum 
being generated from that table. For example:

   ^dbo.Product$

Changing the expression in the EnumList to a sub-string match results in an 
enum being generated from that table:

   Product

I would expect expression parsing to have similarly predictable results for 
EnumList as for IncludeList and IgnoreList.

Original issue reported on code.google.com by dustin.w...@imaginelearning.com on 19 Jan 2012 at 6:06

GoogleCodeExporter commented 9 years ago
Hello,

We will take a look into into this and see what we can do. Chances are we will 
need to leave this behavior for backwards comparability.

Original comment by bniemyjski on 1 Feb 2012 at 1:49