in

dashCommerce

An ASP.NET Open Source e-Commerce Application

How can I add new tables in dashCommerce Database using Subsonic??

Last post 06-16-2008 11:09 AM by yitzchok. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-16-2008 12:55 AM

    • dar
    • Top 50 Contributor
    • Joined on 06-03-2008
    • Posts 17

    How can I add new tables in dashCommerce Database using Subsonic??

     hi,

    please tell me that how can i add new tables in dashCommerce DB using SubSonic, so that subsonic automatically generates classes

    for newly added table? I am having problems about How to use subsonic? I have downloaded it but didn't use it yet:(

     

    best regards,

    Waqas Dar 

    waqar dar
    Filed under:
  • 06-16-2008 6:52 AM In reply to

    Re: How can I add new tables in dashCommerce Database using Subsonic??

    There are folks here that can definitely help, but this is probably best asked in the SubSonic forums @ http://www.subsonicproject.com.

     

    --
    Support dashCommerce - Buy Our Stuff!!


    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us! Documentation? Help us write some!
    Filed under:
  • 06-16-2008 11:09 AM In reply to

    Re: How can I add new tables in dashCommerce Database using Subsonic??

    1. Add your table name to the app.config file in the store project includeTableList   (Or better would be to do this in a seperate project like that you can get the updates)
    2. run this in the command line sonic generate /config "[PROJECT_FOLDER]\Store" /out "[PROJECT_FOLDER]\Store\Generated"  (See here)
    3. Copy the Table file to Store\Models\Generated and the TableController file to Store\Controllers\Generated
    4. You should remove the other generated files and make sure that in VS you include the file.

    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us!
Page 1 of 1 (3 items)