它创建并设置模型。
通常直接设置模型用作查询的源,除非在RDQL中使用FROM子句指定了其他的源。
It's usual to explicitly set the model to use as the source for the query, unless otherwise specified with a FROM clause in the RDQL itself.
设置模型属性为等同 model,并构造结果属性为 layout,如列表 6 所示。
Set the model attribute to equal model and the structure attribute to layout, as shown in Listing 6.
应用推荐