Welcome to the CodeSmith Community!


Product Updates

A description has not yet been added to this group.


Rate This
  • Comments 4
  • Added Visual Studio 2010 and .NET 4 Support
  • Updated QuickStart with latest Dynamic Data and DataServices
  • Added SQLCacheDependancy Support
  • Added IQueryable Cache Extensions
  • Added Include extension for advanced eager loading
  • Improved AuditLog, now includes updates after SubmitChanges
  • Fixed bug in CacheManager where default profile did not load properly
  • Added override RuleManager.Run override that populates the TrackedObject.Original
  • Fixed bug in AuditLog
  • Fixed bugs in VB Quick Start
  • Added DataContextName to QuickStart.cst
  • Fixed Managers didn't have the same access modifier as entities
  • Fixed bug in GetByKey function in VB
  • Fixed invalid cast exception for Range attribute on short properties
  • Fixed bug in ExecuteFutureQueries when no queries were loaded
  • Fixed bug in Manager when column didn't exist
  • Added logic to skip columns of type 'hierarchyid'
  • Added work around for L2S Profiler not working with transactions
  • Fixed bug where Metadata property types did not match up with Enums
  • Added BeginTransaction with no overload

Download PLINQO 5.0

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • * Please enter your name
  • * Please enter a comment
  • Post
  • The year is 2010. Visual Studio's UI is all new. The .NET framework is on version 4.0. ...and PLINQO

  • Is the VB version up to date?  I can create a C# solution and the data project compiles fine.  When I change to VB, I get a lot of errors of the type:

    C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll : (0,0) CodeSmith template compiler: BC42204: Assembly 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll' references assembly 'System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089', which is ambiguous between 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.dll' (referenced by project 'vbc') and 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll' (referenced by project 'vbc'). 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.dll' will be used. If both assemblies are identical, change the references to the same location.

  • Hello,

    This is a known issue, please see the following post for the work around (community.codesmithtools.com/.../42145.aspx)



  • I use PLINQO-NHibernate-1.3 Generator code,but  an error :

    Stack Trace:

      在 System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)

      在 System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)

      在 System.Collections.Generic.SortedDictionary`2.Add(TKey key, TValue value)

      在 CodeSmith.SchemaHelper.SchemaExplorerEntityProvider.LoadTables(TableSchemaCollection tables)

      在 CodeSmith.SchemaHelper.SchemaExplorerEntityProvider.Initialize(TableSchemaCollection tables, ViewSchemaCollection views, CommandSchemaCollection commands)

      在 CodeSmith.SchemaHelper.SchemaExplorerEntityProvider.Load()

      在 CodeSmith.SchemaHelper.EntityManager..ctor(IEntityProvider provider)

      在 _CodeSmith.Hbms_cst.CreateEntityManager()

      在 _CodeSmith.Hbms_cst.Generate()

      在 _CodeSmith.Hbms_cst.__RenderMethod1(TextWriter writer, Control control)

      在 CodeSmith.Engine.DelegateControl.Render(TextWriter writer)

      在 CodeSmith.Engine.Control.RenderChildren(TextWriter writer)

      在 CodeSmith.Engine.Control.Render(TextWriter writer)

      在 CodeSmith.Engine.CodeTemplate.Render(TextWriter writer)

      在 CodeSmith.Engine.CodeTemplate.RenderToString()

      在 CodeSmith.Engine.ProjectCodeGenerator.GenerateCode(CodeSmithProject project)

    Unable to render output Hbms, skipping...



    /* Table: tb_prov_type                                          */


    create table tb_prov_type


      Provt_Id             int(11) not null,

      Prov_Id              int(11) not null,

      primary key (Provt_Id, Prov_Id)


    alter table tb_prov_type comment '供应商与供应商类别表的关系表';


    /* Table: tb_provider                                           */


    create table tb_provider


      Prov_Id              int(11) not null auto_increment,

      Name                 national varchar(30) comment '供应商名',

      Phone                national varchar(30) comment '联系电话',

      Contact              national varchar(20) comment '联系人',

      CreatedOn            datetime,

      CreatedBy            national varchar(20),

      ModifiedOn           datetime,

      ModifiedBy           national varchar(20),

      primary key (Prov_Id)


    alter table tb_provider comment '供应商';


    /* Table: tb_providertype                                       */


    create table tb_providertype


      Provt_Id             int(11) not null auto_increment,

      Name                 national varchar(50) comment '类别名称(门票供应商,票务供应商,包车供应商,机票供应商,酒店供应商)',

      primary key (Provt_Id)


    alter table tb_providertype comment '供应商类别';

    alter table tb_prov_type add constraint FK_Reference_47 foreign key (Provt_Id)

         references tb_providertype (Provt_Id);

    alter table tb_prov_type add constraint FK_Reference_48 foreign key (Prov_Id)

         references tb_provider (Prov_Id);

Page 1 of 1 (4 items)
Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • * Please enter your name
  • * Please enter a comment
  • Post