gpt4 book ai didi

c# - 什么是独立协会和外键协会?

转载 作者:IT王子 更新时间:2023-10-29 04:45:42 25 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
Code First: Independent associations vs. Foreign key associations?

在 EF 4 或 EF 5 Code First 中,什么是“独立关联”,什么是“外键关联”,如所用 on MSDNForeign 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.

那么——现在我知道该用哪个了。要是我知道它们是什么以及人们会如何接受它就好了!那么我的问题是,您将如何定义这些术语?每个流利/注释/约定调用什么?

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com