I can't use class on layered architecture

ömercan künye 0 Reputation points
2023-02-02T07:05:02.2466667+00:00

I'm working on a web.api for library otomation project.

I'm using layered architecture on project.

a485553e-89a6-4fa9-8dd5-1c40de6d40e2.jpg image is my architecture. I couldn't access User.cs class on DataAccess layer.

I defined with "usign" but it didn't work. I guess EntityFramework isn't work my project or ı can't add it

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
726 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. ömercan künye 0 Reputation points
    2023-02-02T07:06:21.1566667+00:00

    it's my problem "using" not work.4d459261-7294-450c-89e2-154edf092b1c


  2. Bruce (SqlWork.com) 61,731 Reputation points
    2023-02-07T20:27:07.7666667+00:00

    either the project Entities namespace is not Entities, the Entities namespace only has other namespaces, or there is not a project reference to it.

    0 comments No comments