You can find examples of one-to-one and many-to-many relationships in the online Grails documentation; see Resources.
在Grails的联机文档中,可以找到一对一和多对多关系的示例,请参阅参考资料。
These include one-to-one and one-to-many composition associations and many-to-one and many-to-many aggregation associations.
这些包括一对一和一对多构成关联,以及多对一和多对多的聚合关联。
One of the best places is the Bavarian Forest National Park, which has many paths and forest roads for visitors to choose from.
最好的地方之一是巴伐利亚森林国家公园,那里有许多小径和森林道路供游客选择。
For pants without that crease (and many with it), pleats are unnecessary; for pants that need the pleat, they only need one.
对于没有折痕的裤子(以及许多有折痕的裤子),褶皱是不必要的;需要打褶的裤子只需要一条。
How does one weigh the many different economic, cultural, and aesthetic considerations for removing or not removing these dams?
人们该如何考量众多不同的经济、文化和美学方面的因素,以决定是否拆除这些大坝?
You can take a cue from GCC: maintain many sets of environment variables per application and switch from one pool to another depending on the work at-hand.
您可以从GCC得到提示:为每个应用程序维护多个环境变量集,并根据手头的工作从一个集合切换到另一个集合。
Yet appearances can deceive, ecologists caution, and many of these exotics may be considered acceptable only because no one has documented their harmful effects.
然而,生态学家警告说,这些表象可能并不是真的;而且,这些外来物种中有许多可能被认为是可接受的,只是因为没有人记载过它们的有害影响。
Going up one more floor, visitors can see a working beehive, live snakes, stuffed fish and birds, and many other displays of Kansas plants and animals.
再往上一层,游客可以看到一个工作的蜂箱,活蛇,填饱了的鱼和鸟,还有许多堪萨斯州的植物和动物。
Answers to this question would be many and diverse, yet almost no one would reply, "Music means nothing to me."
对这个问题的回答可能很多也很多样化,但几乎没有人会回答:“音乐对我来说毫无意义。”
They must show each other kindness and pity and many other qualities without which life would be very painful unless one chose to live alone in the desert.
他们必须向对方表现出仁慈、怜悯和其他许多品质,如果没有这些品质,生活将非常痛苦,除非一个人选择独自生活在沙漠中。
Globally, knowing more than one language is viewed as an asset and even a necessity in many areas.
从全球来看,掌握一门以上的语言在许多领域被视为一种优势,甚至是一种硬性的要求。
I think your profession is sometimes underrated, and many people think anyone who speaks more than one language can do it.
我认为你们的职业有时被低估了,许多人认为任何会说一种以上语言的人都能做你们这个工作。
In many cases, you could stand at the edge of one village and see the outskirts of the next community.
在很多情况下,你可以站在一个村庄的边缘,看到邻近社区的郊区。
There have been many changes in the rules since then, and basketball has become one of the world's most popular sports.
从那时起,规则改变了很多,篮球也已成为世界上最受欢迎的运动之一。
Appearances can deceive, ecologists caution, and many of these exotics may be considered acceptable only because no one has documented their harmful effects.
生态学家警告说,外表可能具有欺骗性,而且这些外来物种中可能有许多是为人接受的,只是因为没有人记载过其有害影响。
Cooking benefits people in many ways and enables them to connect with one another.
做饭给人们带来许多好处,并且能拉近人与人之间的距离。
The need to belong has been identified as one of the most basic of human motivations and plays a role in many human behaviors.
归属的需要已经被确定为人类最基本的动机之一,并且在许多人类行为中扮演着重要的角色。
I have seen many cartoons of this kind, but this one is surprisingly funny and I love the sweet voice in it.
我看过很多这样的卡通片,但是这一部非常有趣,我喜欢里面的甜美声音。
As a habitat for many endangered species, the Yangtze River flows through diverse ecosystems and irrigates one-fifth of China's land.
长江流经多种不同的生态系统,是诸多濒危物种的栖息地,灌溉了中国五分之一的土地。
Theatrical art forms in many other countries do not present singing, dancing and spoken parts in one single drama.
许多其他国家的戏剧艺术形式并不在一部戏剧中出现歌唱、舞蹈和口语部分。
One sneeze can put as many as 40,000 droplets of saliva and mucus into the air.
一个喷嚏可以将多达40000滴唾液和黏液喷到空气中。
Rebecca West wrote a good many novels and one in particular called The Return of the Soldier, the protagonist of which is also a traumatized war victim.
丽贝卡·韦斯特写了很多小说,其中有一本叫《军士翻箱》,书中的主人公也是一个饱受创伤的战争受害者。
The town contained several large streets all very like one another, and many small streets still more like one another, inhabited by people equally like one another.
这个城市有好几条大街道,每条街道都非常相似,还有许多小街道也很相似,它们住的人都非常相似。
After posting the photos onto the Internet, one will be unable to control himself and check his mobile phone many times.
在把照片上传到网上后,人们会无法控制自己,多次查看自己的手机。
One rainy day I went and looked into ever so many of the rooms.
在一个下雨天,我去看了许许多多间屋子。
Some critics say that Poe was one of America's best writers, and even influenced many French writers, but others disagree.
一些评论家说坡是美国最好的作家之一,甚至影响了许多法国作家,但其他人不同意。
Some critics say that Poe was one of America's best writers, and even influenced many French writers, but others disagree.
一些评论家说坡是美国最好的作家之一,甚至影响了许多法国作家,但其他人不同意。
应用推荐