Skip to content

一对多可以支持只有一个子实体的,非集合导航属性么? #1082

Answered by 2881099
lif-enable asked this question in Q&A
Discussion options

You must be logged in to vote

非集合属性,手工保存也很方便,所以没有做自动化。

因为多对一,自动级联保存很危险,比如保存 Topic,不应该把 TopicType 也保存。

然后一对一,和多对一目前没标识区分,所以就是现在这样。

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lif-enable
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants