dotnet / dotnet/dotnet-api-docs
This doc is wrong.
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
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.*
* ID: 0378ed91-70a7-2434-d376-e50fc488f486
* Version Independent ID: 8a924d91-dc3f-6821-d827-e397332ac438
* Content: [ObjectQuery<T>.Distinct Method (System.Data.Objects)](https://docs.microsoft.com/en-us/dotnet/api/system.data.objects.objectquery-1.distinct?view=netframework-4.7.2)
* Content Source: [xml/System.Data.Objects/ObjectQuery`1.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Data.Objects/ObjectQuery`1.xml)
* Product: **dotnet-api**
* GitHub Login: @douglaslMS
* Microsoft Alias: **douglasl**
Contributor guide
Assessment
This issue has not been assessed yet.