CodeSmith Community
Your Code. Your Way. Faster!

Custom stored procedure signature and output change

Latest post 04-24-2007 1:22 PM by nicolaswebb. 0 replies.
  • 04-24-2007 1:22 PM

    Custom stored procedure signature and output change

    I've made two changes to a table's column names - changing the Id column to TableNameId.  I've got some custom stored procedures that select from this table - so I updated those as well.  I regenerated, with no compile errors - but I'm getting a SQL exception with "Invalid field name 'Id'" - the old field name.  All of the other procedures (the ones that are generated) work as expected.

    The only way I've been able to work around this is to delete the existing TableBase.generated.cs file and have it re-generate entirely, instead of overwriting.

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