实体Framwork Connetion面向或断开导向? [英] Entity Framwork Connetion oriented or disconnected oriented?

查看:101
本文介绍了实体Framwork Connetion面向或断开导向?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我面临埃森哲质疑,认为实体Framwork是面向连接或断开Orinted

解决方案
下面的链接将回答你的问题:



http://www.entityframeworktutorial.net/persistence-in -entity-framework.aspx [ ^ ]



已连接方案:已连接方案是从数据库中检索实体并在同一上下文中进行修改的情况。



断开连接的场景:断开连接的场景是指从数据库中检索实体并在不同的上下文中进行修改。


I have faced the question from ACCENTURE that Entity Framwork is Connection oriented or Disconnection Orinted?

解决方案

The following link will answer your question:

http://www.entityframeworktutorial.net/persistence-in-entity-framework.aspx[^]

Connected Scenario:Connected scenario is when an entity is retrieved from the database and modified in the same context.

Disconnected Scenario:Disconnected scenario is when an entity is retrieved from the database and modified in the different context.


这篇关于实体Framwork Connetion面向或断开导向?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆