Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Entity Framework 4.0 in a .Net 3.5 Application [duplicate]

Possible Duplicate:
Using EF 4 on .NET 3.5 SP1

Is it possible to use Entity Framework v4.0 in a .NET 3.5 application? I mean, can i just reference the related assemblies for EF 4.0 and use it in my .NET 3.5 application?

Thanks.

like image 917
Hogaf Avatar asked May 20 '10 18:05

Hogaf


People also ask

What is ASP NET 4x Entity Framework?

ASP. NET 4.x The basics of using Entity Framework to display and edit data in an ASP.NET Web Forms application. Getting Started with Entity Framework 4.0 Database First - Part 2

What version of Entity Framework does the tutorial use?

.NET 4.5 is backward compatible with .NET 4, but the tutorial has not been tested with .NET 4.5. The tutorial has not been tested with later versions of Entity Framework. Starting with Entity Framework 5, EF uses by default the DbContext API that was introduced with EF 4.1. The EntityDataSource control was designed to use the ObjectContext API.

Is the tutorial backward compatible with Entity Framework 4?

.NET 4.5 is backward compatible with .NET 4, but the tutorial has not been tested with .NET 4.5. The tutorial has not been tested with later versions of Entity Framework.

What is the best way to work with data in Entity Framework?

There are three ways you can work with data in the Entity Framework: Database First, Model First, and Code First. This tutorial is for Database First. For information about the differences between these workflows and guidance on how to choose the best one for your scenario, see Entity Framework Development Workflows.


1 Answers

No, the EF 4.0 uses the .NET 4.0 framework, which is newer and completely separate from the .NET 3.5 framework.

like image 197
Andrew Garrison Avatar answered Sep 28 '22 09:09

Andrew Garrison