Hi @umutins umut ,
You cannot create an ADO.net Entity Data Model with a .NET Core interface, it is only possible through the .NET Framework. You need to change the target framework to .NET Framework 4.8 or lower.
If you want to generate your model and context from the db you need to use ef core scaffolding using the tools available, cli or PMC.
Reverse engineering is the process of scaffolding entity type classes and a DbContext class based on a database schema. It can be performed using the Scaffold-DbContext command of the EF Core Package Manager Console (PMC) tools or the dotnet ef dbcontext scaffold command of the .NET Command-line Interface (CLI) tools.
Best regards,
Lan Huang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.