***** What steps will reproduce the problem? *****
After re-generation the mapping file is not updated with new tables/view or
columns.
My client wish to (eventually) incorporate a re-gen. within their continuous
integration processes, therefore minimizing manual processes is a must.
***** What is the expected output? What do you see instead? *****
New tables, views and columns should be added to the mapping file to minimize
the amount of manual work required.
Exising Xml nodes should not be affected by any changes.
***** What version of .netTiers and CodeSmith are you using? *****
.netTiers = 2.3.1
CodeSmith = 5.3.1
***** Please provide any additional information below. *****
I've attached revised template changes which are comprised of....
SchemaMapping/NetTiersMapInstance.Internal.cst
Replaced existing Render method which now renders the template and returns an instance of NetTiers.NetTiersMap
TemplateLib/CommonSqlCode.cs
Added NetTiers.NetTiersMap.Merge such that mapping file changes can be merged.
Added NetTiers.NetTiersMap.Save to serialize and save mapping file.
NetTiers.cst
Changed "Entity Mapping" region to incorporate the changes detailed above.
Original issue reported on code.google.com by d...@hypercode.co.uk on 15 Feb 2011 at 9:23
Original issue reported on code.google.com by
d...@hypercode.co.uk
on 15 Feb 2011 at 9:23Attachments: