I created a patch to incorporate the code posted on http://community.codesmithtools.com/forums/thread/23863.aspx by smallinov
This patch changes the "IncludeDrop" option from being a bool to a new enum with the options of Entity/All/None where...
Entity - Equates to the old true i.e each stored proc generated will be preceded by a corresponding DROP statement
None - Equates to the old false i.e. no procedures will be dropped
All - All netTiers procedures will be dropped with the following caveats - the ProcedurePrefix must be specified (so we don't inadvertantly drop all procs in a db!) - any custom procs will not be touched.
What this means is that if you select "All", then after a gen you will only have those created during that run. This means you shouldn't get any orphaned procs left hanging around.
swin
-------------------------------------------------
Member of the .NetTiers team
-------------------------------------------------