CodeSmith Community
Your Code. Your Way. Faster!

GetStoredProcCommand param not appropriately bracketed...

Latest post 04-14-2008 2:29 PM by Malakai. 0 replies.
  • 04-14-2008 2:29 PM

    • Malakai
    • Not Ranked
    • Joined on 12-12-2007
    • Posts 3
    • Points 55

    GetStoredProcCommand param not appropriately bracketed...

    This example below will fail at because the stored procedure name contains a period.

    DbCommand commandWrapper = database.GetStoredProcCommand("(v_guiRollRateMBA).GetForCollateralGroup");

    This will suceed:

     DbCommand commandWrapper = database.GetStoredProcCommand("[(v_guiRollRateMBA).GetForCollateralGroup]");

    All references to stored procedures should be fully qualified with brackets.

     

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