如何在Dbcontext中获取ObjectContext属性? [英] How to get the ObjectContext Property change in Dbcontext ?

查看:54
本文介绍了如何在Dbcontext中获取ObjectContext属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,



我喜欢在属性更改中编写一些代码。但我不知道是在实体框架中编写DbConext Generated类。



当我们使用Object上下文时,我们可以更改属性,就像任何dbcontext中的选项。



我听说Db上下文使用Object Context来工作。我可以得到它的财产变化..?



问候,

jophy

解决方案

我认为此链接可以帮助您:

链接

Hello All ,

I like to write some code in property change . But i don''t know were to write in entity frame work DbConext Generated class .

When we are using Object context we can get the property changed , like that any option in dbcontext .

I heard that Db context use Object Context to work . can i able to get it''s property change .. ?

with regards ,
jophy

解决方案

I think this link will help you:
Link


这篇关于如何在Dbcontext中获取ObjectContext属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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