Welcome to the CodeSmith Community!

Blogs

CodeSmith Community

A description has not yet been added to this group.
  • 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

    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

    Checking if a column is an identity field exception.

    This post is mostly a self reminder but it may come useful if you're using CodeSmith as well. It is possible to check if a (schema)column is an identity field via ExtendedProperties property of the SchemaObjectBase class: // Only for Sql Server private bool IsIdentityColumn(ColumnSchema column) { return (bool) column.ExtendedProperties[ "CS_IsIdentity" ].Value; }
  • External

    Martin Olivares Asp.net, Ajax and NetTiers experiences: Telerik + Nettiers series

    This post starts a new serie of post to demostrate the combination of two cools asp.net tools: Telerik Suite & Nettiers This example shows the use of the more common features of Radgrid as paging, sorting, filtering and grouping with a Nettiers object datasource. Some helpfull notes: 1) The objectdatasource method used to retrieve the data is GetPaged . 2) The code in OnSelecting event of the object datasource set correct the parameters for the objectdatasource. 3) The EnableLinqExpressions of radgrid is...
  • External

    Generate a Module Data Access Layer With CodeSmith

    Shared by blake A guide on how to build a DotNetNuke Data Access Layer with CodeSmith.
  • External

    ADO.NET EF, CodeSmith and building a DAL

    I’m using Entity Framework pretty heavily these days and have come to like it. There are a few tricks to using it, but in general it get the job done. One of the tricks I’ve been developing with help from Robert Hinojosa is a CodeSmith template to add some extra functionality to our entity model. We started off just adding some validation stuff, but it is slowly growing. Adding IEditableObject The first problem is that I need to add some interfaces to all of the entities. The important interface is IEditableObject...
  • External

    Syntax Error Nullification and Coding Analytics Workgroup » Blog Archive » Top 5 Must-Have Tools Every Developer Should Download Now

    Top 5 Must-Have Tools Every Developer Should Download Now!
  • External

    james mckay dot net » On code generation

    Code generation done right can save masses of time. Code generation done wrong has the exact opposite effect. Here is what code generation done wrong looks like. I am asked to help out with your project, and told that it’s corrupting data. After a bit of rootling around, I find two hundred business service classes, each containing numerous very similar looking methods that all follow this pattern: view plain copy to clipboard print ? public bool SaveWidget(Widget widget) { try { dataSession.Save(widget); return...
  • External

    Shreveport .NET User Group - Code Generation

    September 2010 Meeting When: 9/21/2010 6:00 PM - 8:00 PM Speaker: Tom DuPont Speaker Bio: Tom DuPont lives in Dallas, Texas, where he is the Vice President of CodeSmith Tools, LLC. Tom is a .NET developer, specializing in C#, ASP.NET MVC, and JavaScript. Tom has a bachelor's degree in Computer Science and Software Engineering from the University of Texas at Dallas. In his spare time he enjoys long rides across the country on his motorcycle. Topic: Code Generation Location: CoHabitat - 610 Commerce St., Shreveport...
  • External

    rule the world: .netTiers

    Introducing .netTiers .netTiers is a set of open source code generation templates that simplify the tasks of creating customized Application Tiers for your Microsoft.Net applications in just a few minutes. .netTiers utilizes the power of the best code generation tool available today, CodeSmith . .netTiers generated architecture is custom to your domain, uses familiar patterns, and follows the guidance of Microsoft's recommended patterns and practices. In fact, the .netTiers base architecture is built upon...
Page 40 of 48 (477 items) «3839404142»