博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

CodeSmith 4.1 is live

Posted on 2007-08-09 19:40  江南白衣  阅读(881)  评论(4编辑  收藏  举报
   这个版本最让人激动的是支持vs 2008并且带了linq to sql的代码生成模板!
  下载地址:http://www.codesmithtools.com/downloadrequest.aspx
 
   顺便放一个小玩意给大家使用:小玩意 :) 

   下面是这个版本的New Feature......:

New Feature, EveryBody Browering  
* Changed CodeSmith to auto refresh property values every time a template is run except inside CodeSmith Studio where there is an option to enable this behaviour.
  * Added new "Auto refresh properties" option to CodeSmith Studio that will cause properties to refresh their values before every run.
  * Added new "Refresh Properties" button to the property grid in CodeSmith Studio to force a property value refresh.
  * Added new PropertyRefresher attribute that can be used to specify how CodeSmith should refresh a property's value.
  * Added new RefreshProperties method to CodeTemplate used to force the properties on a template to refresh their values.
  * Added PropertyRefresher support to all SchemaExplorer objects.
  * Added PropertyRefresher support to XmlProperty.
  * Added support for Visual Studio 2008 (Orcas).
  * Added NoWarn attribute to CodeTemplate to allow ignoring warnings.
  * Added new Linq to Sql templates.
  * Added new APOSA templates for the book "Advanced Patterns of Enterprise Architecture".
  * Added a new IDbConnectionStringEditor interface to SchemaExplorer for providers to support connection string editing.
  * Added support for the new IDbConnectionStringEditor interface to the SqlSchemaProvider.
  * Added support for the new IDbConnectionStringEditor interface to the ADOXSchemaProvider.
  * Added Indexes and Keys to the SchemaExplorer tool window in CodeSmith Studio.
  * Added OracleSchemaProvider to CodeSmith installation. (Thanks to Geoff McElhanon)
  * Added MySQLSchemaProvider to CodeSmith installation. (Thanks to David Neal)
  * Added source code for the SqlSchemaProvider to the sample projects folder.
  * Added a MapSample.cst template.
  * Added some merge sample templates.
  * Fixed bug where self referencing foreign key was not being correctly added to the PrimaryKeys collection.
  * Fixed null reference bug in SqlSchemaProvider GetExtendedProperties.
  * Fixed ActiveSnippets bug that was throwing an exception when the user deletes all the templates and clicks OK.
  * Fixed a bug in the CommandWrapperClass.cst template.
  * Fixed a bug that was causing TableSchema to not refresh correctly after calling Refresh.
  * Fixed a bug in the Visual Studio package that was causing the trial license to be shown before any CodeSmith functionality was accessed.
  * Fixed bug in the ActiveSnippet configuration form that caused Visual Studio to crash.
  * Fixed bug with SchemaExplorer control where data sources were not being refreshed correctly.