Entity framework in Visual Studio 2010 - visual-studio-2010

I was reading a blog post the other day about code-first fluent mappings feature in entity framework ctp4. Just wonder what version of EF comes with Visual Studio 2010?

Entity Framework 4.0 has been shipped with .Net Framework 4.0 and Visual Studio 2010 and it does NOT contains the Code First development and Fluent API, to get those, you can download and install EF CTP4 from here.

Related

Visual Studio 2017 Mac Entity Framework

I've managed to install Entity Framework on Visual Studio Community 2017 for Mac as a Nuget Package. However, when I try to add ADO.NET Entity Data Model, I can't. I only see options to add files.

Use web api 2 in visual studio 2010

How can I use web api 2 in Visual Studio 2010.
Is there any way I can use web api 2 in VS 2010?
Can somebody please help or guide?
If you want to include Framework version 4, you can follow these steps. In Visual Studio 2010 to add a project of type ASP.NET MVC Web API we can:
1 - Have .NET Framework 4 & ASP.NET MVC 4 installed.
2 - Add a new project and select MVC 4
( on this screen there is no Web API template which is where many users may expect to see it )
3 - Select the Web API Template
You can see the answer here
But in your case, you need to install framework version 4.5. Each version of Visual Studio prior to Visual Studio 2010 is tied to a specific .NET framework. Visual Studio 2010 and beyond allow for targeting of prior framework versions but cannot be used for future releases. You must use Visual Studio 2012 in order to utilize .NET 4.5.
But one user has found a scenario where we can use framework version 4.5 in VS 2010, please see the answer of David Woodward here. If you can install VS 2012, it will be much easier since you don't need to download and install anything else.

Can I build a SSIS 2008 custom component using Visual Studio 2010?

I have built custom components for SSIS 2008 using VS2008. Can I build a custom component for SSIS 2008 using VS2010?
Thanks
Yes.
Yes, you can build SSIS 2008 custom components using Visual Studio 2010 but you need to target .NET Framework 3.5 because SSIS 2008 does not support .NET Framework 4.0
Reference:
You can take a look at this answer on MSDN forum that discusses a similar question.
SSIS Custom Components and .NET 4.0

Is it possible to downgrade from Visual Studio 2012 to Visual Studio 2010?

I have a wonderful solution in Visual Studio 2012 with a Web project using WebAPI and a supporting Web Service project for data using Entity Framework (EF) Code First. I was just told I need to see about using Visual Studio 2010.
Is there something I can do to work on this project in Visual Studio 2010?
As Henrick answers: you do not upgrade/downgrade VS installs, rather you install versions side by side.
You note two technologies that might be problematic:
EF Code First: this is supported from 4.1 (or was it 4.2?) which is supported against .NET 4.0 and VS2010. Providing your not using enum or geo/spatial data types (which require .NET 4.5) this should work, but you'll need to ensure you update to the EF5 NuGet package for .NET 4.
WebAPI: This is new in MVC4, which comes with VS2012, but is a separate install for .NET 4/VS2010.
Finally. While some project types with round trip between VS2012 and VS2010 SP1 (you need the service pack) it is not true for all project types. Details are on MSDN.
You can install Visual Studio 2010 separately and open the project and see. There is no danger in having version 2005, 2008, 2010 or 2012 of Visual Studio installed.

Entity Framework 4.0 in Visual Studio 2010 Pro

Greetings,
I would like to use EF4 but I only have Visual studio 2010 Pro. As far as I can see, all projects types and items related to EF4 are available in Ultimate version. Is there any way I can use EF4 in Visual Studio 2010 Pro?
I am using the Entity framework with MVC2 in VS 2010 Pro right now.

Resources