zengcheng / codesmith

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

PLINQO always generates ScaffoldTable(true) #566

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. We need an option to control which tables can be Scaffold by Dynamic Data.
2. At the moment PLINQO is always generating with [ScaffoldTable(true)]
3. What if we need to do [ScaffoldTable(false)] for some tables?
4. Also if you add [ScaffoldTable(false)] on the Metadata table it is ignorred.

What is the expected output? What do you see instead?
The ability to control the value of Scaffold attribute.
Same with all other generated attributes.

What version of the product are you using?
Latest PLINQO 

Please provide any additional information below.
I presume if they are defined on the Metadata class, those values needs to be 
used and not the automatically generated ones!

Original issue reported on code.google.com by alonec...@gmail.com on 12 Mar 2011 at 12:33

GoogleCodeExporter commented 9 years ago
Hello,

I was not able to reproduce this error. When I placed the attribute on the 
metadata class the table was not regenerated. I am using the latest version of 
PLINQO.

[CodeSmith.Data.Audit.Audit]
        [ScaffoldTable(false)]
        internal class Metadata

Can you please update to the latest version and try this.

Thanks
-Blake Niemyjski

Original comment by bniemyjski on 22 Mar 2011 at 12:12