CodeSmith Community
Your Code. Your Way. Faster!

Generate from custom proc with owner not dbo?

Latest post 10-04-2007 8:58 AM by adam0101. 1 replies.
  • 10-03-2007 2:52 PM

    • adam0101
    • Not Ranked
    • Joined on 04-10-2007
    • Posts 3
    • Points 45

    Generate from custom proc with owner not dbo?

    I'm trying to generate the code around a procedure named tbd.TableName_GetWidget where tbd is the owner. I have the CustomProcedureStartsWith property in .NetTiers set to "{0}_"

    Why is the code for the stored procedure not getting generated? Is it because the owner isn't dbo? I'm using a Mapping.config file. Should I be naming the procedure with the alias name instead of the table name?

    Thanks,

    Adam

    • Post Points: 5
  • 10-04-2007 8:58 AM In reply to

    • adam0101
    • Not Ranked
    • Joined on 04-10-2007
    • Posts 3
    • Points 45

    Re: Generate from custom proc with owner not dbo?

    Nevermind, I can't believe I never saw the IncludeCustoms option! I set it to true and it started working.

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