SubSonic Forums
All Your Database Are Belong To Us

Override for "DestinationClassName" in extractClassNameFromSPName

Latest post 10-15-2008 12:09 PM by asmorger. 0 replies.
  • 10-15-2008 12:09 PM

    • asmorger
    • Top 500 Contributor
    • Joined on 03-01-2008
    • St. Paul, MN
    • Posts 7

    Override for "DestinationClassName" in extractClassNameFromSPName

    Question:  according to the 'Config Options' documentation on the main site, one HAS to name their stored procedures in the following manner to have SubSonic associate them with the table/class: "_DestinationClassName_RestOfStoredProcedureName". 

    Is there a way to override this, either with a config or in the templates, so that it picks up stored procs named: "DestinationClassName_RestOfStoredProcedureName" (removing the first underscore).

    My corporate environment is starting to slowly migrate away from NetTiers and into Subsonic and having the ability to easily associate all of our existing custom stored procs with the Subsonic classes while maintaing the NetTiers compatibility would be highly beneficial during this transition.

    Thanx in advance!

Page 1 of 1 (1 items) | RSS