symfony2-不同bundle的entity的一对多关系
摘要:
重点:其实和普通一个bundle中一样,只是把entity地址写全就行。例子:表commentone (多方)表shopone(一方)在Userbundle中的Commentone实体对应关系在Adminbundle中的Shopone实体对应关系在controller中使用:数据库结果:表shopo... 阅读全文
posted @ 2015-05-17 18:47 joelike 阅读(311) 评论(0) 推荐(0)
浙公网安备 33010602011771号