<分区>
Possible Duplicate:
Code First: Independent associations vs. Foreign key associations?
在 EF 4 或 EF 5 Code First 中,什么是“独立关联”,什么是“外键关联”,如所用 on MSDN或 Foreign Key vs. Independent Relationships - is there improvement with Entity Framework 5? (重点添加):
2.4.1 Using Foreign Key Associations to reduce view generation cost
We have seen a number of cases where switching the associations in the model from Independent Associations to Foreign Key Associations dramatically improved the time spent in view generation.
那么——现在我知道该用哪个了。要是我知道它们是什么以及人们会如何接受它就好了!那么我的问题是,您将如何定义这些术语?每个流利/注释/约定调用什么?