CodeSmith Community
Your Code. Your Way. Faster!

CSLA.NET Templates with the DAAB

Latest post 07-17-2007 5:55 PM by Azavia. 0 replies.
  • 07-17-2007 5:55 PM

    • Azavia
    • Not Ranked
    • Joined on 07-17-2007
    • Posts 2
    • Points 10

    CSLA.NET Templates with the DAAB

    Hello,

     

    I've been working on porting the CSLA.NET templates to use the data access application block instead of the SQLClient namespace.

     

    However, I need to figure out a way to find the DbType of the parameter when adding a new input or output parameter. cm.Parameters.AddWithValue won't work because of it using the System.Data and System.Data.Common namespaces instead of a specific database client.

     

    Is there some easy way to do this? Or am I out of luck? It'd be really great if I could get this working.

     

    By the way, I've attached the templates I have so far in case anyone's interested. They're not perfect but it's something.

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