Doctrine orm 在Zend Framework 2+;原则2

Doctrine orm 在Zend Framework 2+;原则2,doctrine-orm,zend-framework2,doctrine-odm,Doctrine Orm,Zend Framework2,Doctrine Odm,使用以下命令,我可以从表生成类: ./vendor/doctrine/doctrine-module/bin/doctrine-module orm:convert-mapping --namespace="Application\\Entity\\" --force --from-database annotation ./module/Application/src 使用此命令,我可以生成getter/setter: ./vendor/doctrine/doctrine-module//b

使用以下命令,我可以从表生成类:

./vendor/doctrine/doctrine-module/bin/doctrine-module orm:convert-mapping --namespace="Application\\Entity\\" --force --from-database annotation ./module/Application/src
使用此命令,我可以生成getter/setter:

./vendor/doctrine/doctrine-module//bin/doctrine-module orm:generate-entities ./module/Application/src/ --generate-annotations=true
是否可以根据数据库中设置的外键生成联接

谢谢