Blogs - CodeSmith Community
Welcome to the CodeSmith Community!
  • External

    Martin Olivares Asp.net, Ajax and NetTiers experiences: Efficient Nettiers Deepload - Filling object graphs in just one database call

    After using several ORM's I found that when need a complete object graph or some related entities (INNER/LEFT JOIN "like") they haven't an efficient approach built-in. Almost all ORM can lazy load related properties (collections or instances) that means additional db calls and specifically in Nettiers filling an object with n-childs implies (n+1) database calls with the related performance penalty. On this post, I want expose one alternative to populate an entire object graph in just one database...
  • External

    PLINQO at Chris McGrath's Blog

    I've been looking a PLINQO , it's quite interesting. I'm a huge fan of LINQ in general. PLINQO is like Linq to SQL, with improvements. The big ones for me are ones which make talking to the database more efficient. ...
  • External

    mojoPortal - Generating Code with CodeSmith

    If you have the mojoPortal source code, we have a number of Codesmtih templates for code generation that can be used to jump start your development. They are located in the CodesmithTemplates folder. You can still download the older freeware version of Codesmith 2.6 , though I highly recommend getting the newer version from http://www.codesmithtools.com/ , most of our templates do still work with the older freeware version. About the mojoPortal Codesmith Templates We've created a variety of Codesmith templates...
  • External

    C# rocks!: Using codesmith with postgresql for NHibernate

    You could say that this post is a modification of ( http://www.codesmithtools.com/video/nhibernate.html ) when you don't have working visual studio integration and/or you want to use codesmith with Postgresql+NHibernate This is how to use Codesmith professional version 5.1 without visual studio with Postgresql to generate nhibernate templates. First download the Npgsql (version Npgsql2.0.2-bin-ms.net.zip ). Extract and copy the "Npgsql.dll" and Mono.Security.dll" files to GAC (c:\windows\assembly...
  • External

    Getting a Jump Start on mojoPortal Development with Codesmith

    Tutorial video about code generation for mojoPortal using Codesmith tools.
  • External

    CodeSmith Tips & Tricks: Template Recursion

    Here is a simple CodeSmith template that shows how templates can be recursively called, have indentation levels and render to a single output: @ CodeTemplate Language ="C#" TargetLanguage ="C#" ClassName ="RecurseSampleTemplate" %> @ Property Name ="InRecurse" Type ="System.Boolean" %> // Sample header if ( this .InRecurse) { %> // Nested class } else { %> // Parent class RecurseSampleTemplate recurseSample = new RecurseSampleTemplate(); recurseSample...
  • External

    Implementing Simple Cache For Codesmith And Nettiers Asp Net 2 0 ...

    Configuration Sources ... This way, the new project can be in ASP.Net, VB. ... I used CodeSmith Tools and . netTiers 2.2.0 to generate the code for my DB but ... www.alhamsyah.com/.../implementing+simple+cache+for+cod...
  • External

    Modified CodeSmith MSSQL Store Procedure Template

    Recently I was working on one project where I needed to have store procedure that is bit different from those available in templates so i modified one existing to add my own implementation. I am more than happy if someone else find it useful for his work,though code formatting is bad still it is nice template to be in collection Here It is
  • External

    .Nettiers problem when changing column type

    When using .nettiers I have found a problem of generation when changing column type. The only way to resolve this problem on my point of view was to select another name for that column. This change will be a huge problem as sometimes this column is used in stored procedures, functions or buisness layer. One day I decided to spend a time looking for a solution for this problem. I tried to change column name and rebuild then change it back, generate and rebuild, but the problem was still existing !! How it knows...
  • External

    LINQ to SQL with PLINQO « MP Blog

    So after a bit of frustration and the reluctance to add the 1 new field manually I began searching again and came accross some very very cool LINQ to SQL Templates, PLINQO is not just a mere template, its a whole bunch of awesome stuff ... MP Blog - http://meikleprogramming.wordpress.com/
Page 1 of 42 (419 items) 12345»