dotnet / EntityFramework.Docs

Documentation for Entity Framework Core and Entity Framework 6
https://docs.microsoft.com/ef/
Creative Commons Attribution 4.0 International
1.62k stars 1.96k forks source link

Two constructors were found with the same number of parameters that could both be used by Entity Framework. The constructor to use must be configured explicitly. #1847

Open Pentadome opened 4 years ago

Pentadome commented 4 years ago

Am i missing something? How do i do this.


Document Details

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

smitpatel commented 4 years ago

Duplicate of https://github.com/aspnet/EntityFrameworkCore/issues/10789

Pentadome commented 4 years ago

Maybe it should be mentioned in the docs then

ajcvickers commented 4 years ago

Re-opening to show workaround.

chrisfcarroll commented 8 months ago

Re-opening to show workaround.

Is there a workaround? I couldn't see one other than deleting one of constructors.