yasser777 / nettiers

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

Mapping file is never used #413

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run a new project and specify a new mapping file (doesn't exist).
2. Open the generated mapping file and change the EntityName for one of the 
tables.
3. Re-run the code generation.

What is the expected output? What do you see instead?
Expected: The generated class names should match EntityName in the mapping file.
The classes are generated with the table name; i.e. not using the mapping file 
override.

What version of .netTiers and CodeSmith are you using?
Codesmith: 5.2.2
NetTiers: 2.3.1

Please provide any additional information below.

I've done some de-bugging and it looks like the template never call the 
GetAliasName with anything other than NameConversionType.None.

Original issue reported on code.google.com by mattias....@gmail.com on 16 Jan 2012 at 11:55