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

Developer technologies | .NET | Entity Framework Core
Developer technologies | ASP.NET | ASP.NET Core
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) 82,061 Reputation points Volunteer Moderator
    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

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.