如何找出一个Visual Studio中的EF版本? [英] How does one figure out what version of EF is in one's Visual Studio?
问题描述
我有什么:
Visual Basic 2015
我的问题:
我不知道如何确定Visual Studio中安装的Entity Framework版本。某些版本可以在某些版本上运行,但没有其
如何在VS环境中确定我当前的EF版本?另外,如果不是最新版本,我该如何更新我的EF版本?
PS。我很好奇,因为根据StackOverflow问题/答案页面,可以删除多对多关系而不加载所有数据,如果使用"附加"的话。导航属性集合上的方法(在"删除"之前)。
我的EF版本似乎不支持nav-prop集合的方法(BTW,我正在使用DBContext。)
Robert Gustafson
查看引用的dll的文件属性并查看包的.config
WHAT I HAVE:
Visual Basic 2015
MY PROBLEM:
I don't know how to determine what version of Entity Framework is installed in my Visual Studio. Certain things work on some versions but no others. How do I determine my current EF version from within the VS environment? Also, how do I update my EF version if it's not the most recent?
PS. I'm curious because according to a StackOverflow question/answer page, one can delete a many-to-many relationship without loading all the data if one uses an "Attach" method on the navigation-property collection (before "Remove"). My version of EF doesn't seem to support that method for nav-prop collections (BTW, I'm using DBContext.)
Robert Gustafson
Look at the file properties of your referenced dll and also look at packages.config
这篇关于如何找出一个Visual Studio中的EF版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!