SubSonic Forums
All Your Database Are Belong To Us

Scaffolding for mysql

Latest post 09-05-2008 2:29 AM by ranomore. 2 replies.
  • 08-28-2008 12:13 PM

    • psyber
    • Top 500 Contributor
    • Joined on 08-28-2008
    • Posts 6

    Scaffolding for mysql

    Hi,

    I have been using asp.net with mysql for a while now. I see that subsonic provides scaffolding and the blog entry in the site also says that foreign key realtions are supported with drop down list. However, while using mysql (i haven't tried with sql server), the foreign keys are just shown as text boxes where i have to enter the appropriate ids. Same with many to many relationship. Is this feature of scaffolding not supported with mysql?

    I am using MySql v5.0.27, visual studio 2008, .net 3.5 and the subsonic 2.1.

    I hope i can get some answers.

     

  • 09-05-2008 12:46 AM In reply to

    • ranomore
    • Top 10 Contributor
    • Joined on 11-05-2007
    • Salt Lake City
    • Posts 322

    Re: Scaffolding for mysql

    The scaffold control did get an overhaul in 2.1, Eric?

  • 09-05-2008 2:29 AM In reply to

    • ranomore
    • Top 10 Contributor
    • Joined on 11-05-2007
    • Salt Lake City
    • Posts 322

    Re: Scaffolding for mysql

    psyber:
    I hope i can get some answers.

    http://code.google.com/p/subsonicproject/source/browse/trunk/SubSonic/Controls/Scaffold.cs

    This is the source for the Scaffold Control. I think you want to take a look at / step through the GetEditControl method.

Page 1 of 1 (3 items) | RSS