CodeSmith Community
Your Code. Your Way. Faster!

CSLA templates to handle DB field prefixes in Class Property names

Latest post 02-16-2007 3:35 PM by alexlancaster. 0 replies.
  • 02-16-2007 3:35 PM

    CSLA templates to handle DB field prefixes in Class Property names

    Hello,

    Is it possible for the CSLA .Net 2.0 templates to handle database field prefixes, and be smart enough not to use those prefixes when it is building Class Property names?  For example, if I have the fields intOrderID, intInvoiceID and varDescription in my db table/view, I want the CSLA generated Class Property names to be OrderID, InvoiceID and Description, and not IntOrderID, IntInvoiceID and VarDescription.

    I've build this before in my own custom data layer template but I would like to see this functionality in the CSLA templates.

    Thanks.

    Alex L.

    • Post Points: 5
Page 1 of 1 (1 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems