2009年5月22日星期五

Re: [fw-db] Any way to automatically generate Models from DB

thats partially true, but i wont have the ability to do findDependentRowset
and findParentRow


Tom Graham-2 wrote:
>
> Hi,
>
> I may be wrong but I thought the dependentTables and referenceMap were
> just for automatically cascading delete/update operations, something
> InnoDB can do itself. Should you not just simply not use those
> features of Zend_Db_Table and just let InnoDB do the work?
>
> Tom
>
> On 22 May 2009, at 10:22, Andrew Collington wrote:
>
>> iceangel89 wrote:
>>> i wa wondering if there is anyway i can generate DB Models from my
>>> InnoDB DB
>>> with FK relationships setup. so probably dependentTables and
>>> referenceMap
>>> can be automatically setup?
>>>
>> Hi,
>>
>> This may give you a start on doing what you want:
>>
>> http://blog.amnuts.com/2008/04/11/auto-generating-basic-models-for-a-zend-framework-app/
>>
>> Regards,
>>
>> Andy
>>
>
>
>

--
View this message in context: http://www.nabble.com/Any-way-to-automatically-generate-Models-from-DB-tp23662807p23668885.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: