dotnet / dotnet-api-docs

.NET API reference documentation (.NET 5+, .NET Core, .NET Framework)
https://docs.microsoft.com/dotnet/api/
Other
719 stars 1.56k forks source link

This doc is wrong. #1707

Open LJ9999 opened 5 years ago

LJ9999 commented 5 years ago

This example is worthless because it doesn't even compile. And, yes, SDO_Studies.AdventureWorks2016Entities replaces AdventureWorksEntities.

Severity Code Description Project File Line Suppression State Error CS1503 Argument 2: cannot convert from 'SDO_Studies.AdventureWorks2016Entities' to 'System.Data.Objects.ObjectContext' SDO Studies C:\Users\e5q8ngj\Documents\Projects\Topics Of Study\SDO Studies\SDO Studies\Form1.cs 30 Active


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

REscobar commented 5 years ago

If I remember correctoy this document is part of old versions of EntityFramework, if you are developing new applications or implementing an OR/M into an existing one, everyone is going to recomend you to use either EntityFramework6 or EntityFramework Core, both of wich have up to date documentation